This patch is a workaround quirk to enable brightness keys.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=70241
Cc: sta...@vger.kernel.org
Signed-off-by: Dmitry Tunin <hanipouspi...@gmail.com>

---
 drivers/acpi/blacklist.c | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/drivers/acpi/blacklist.c b/drivers/acpi/blacklist.c
index f78ed08..a96295c 100644
--- a/drivers/acpi/blacklist.c
+++ b/drivers/acpi/blacklist.c
@@ -391,6 +391,14 @@ static struct dmi_system_id acpi_osi_dmi_table[] 
__initdata = {
                     DMI_MATCH(DMI_PRODUCT_NAME, "X200MA"),
                },
        },
+       {
+       .callback = dmi_disable_osi_all,
+       .ident = "ASUSTeK COMPUTER INC. UX302LA",
+       .matches = {
+                    DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
+                    DMI_MATCH(DMI_PRODUCT_NAME, "UX302LA"),
+               },
+       },
        {}
 };
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to