summaryrefslogtreecommitdiffstats
path: root/eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2014-06-03 09:51:49 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2014-06-03 10:13:08 -0400
commit55244d5e48b8f0d2ecd0621e0f5d96c64f0ba1aa (patch)
treef356033ee01659592c141a38b9a97b64d4187423 /eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch
parent9d60dbe3b59936979e6154c89d06c77a71c9c4b4 (diff)
downloadkernel-55244d5e48b8f0d2ecd0621e0f5d96c64f0ba1aa.tar.gz
kernel-55244d5e48b8f0d2ecd0621e0f5d96c64f0ba1aa.tar.xz
kernel-55244d5e48b8f0d2ecd0621e0f5d96c64f0ba1aa.zip
Add no backlight quirks for various Asus machines (rhbz 1097436)
From: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch')
-rw-r--r--eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch50
1 files changed, 50 insertions, 0 deletions
diff --git a/eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch b/eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch
new file mode 100644
index 00000000..4cb49332
--- /dev/null
+++ b/eeepc-wmi-Add-no-backlight-quirk-for-Asus-H87I-PLUS-.patch
@@ -0,0 +1,50 @@
+Bugzilla: 1097463
+Upstream-status: Sent for 3.16
+
+From 7ad066ecd4dfb4c36fb00f9f9eb1a5d6099db834 Mon Sep 17 00:00:00 2001
+From: Hans de Goede <hdegoede@redhat.com>
+Date: Mon, 2 Jun 2014 17:41:02 +0200
+Subject: [PATCH 05/14] eeepc-wmi: Add no backlight quirk for Asus H87I-PLUS
+ Motherboard
+
+https://bugzilla.redhat.com/show_bug.cgi?id=1097436
+
+Signed-off-by: Hans de Goede <hdegoede@redhat.com>
+---
+ drivers/platform/x86/eeepc-wmi.c | 13 +++++++++++++
+ 1 file changed, 13 insertions(+)
+
+diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
+index 6112933f6278..a7286bbfe28e 100644
+--- a/drivers/platform/x86/eeepc-wmi.c
++++ b/drivers/platform/x86/eeepc-wmi.c
+@@ -114,6 +114,10 @@ static struct quirk_entry quirk_asus_x101ch = {
+ .wmi_backlight_power = true,
+ };
+
++static struct quirk_entry quirk_asus_no_backlight = {
++ .no_backlight = true,
++};
++
+ static struct quirk_entry *quirks;
+
+ static void et2012_quirks(void)
+@@ -182,6 +186,15 @@ static struct dmi_system_id asus_quirks[] = {
+ },
+ .driver_data = &quirk_asus_x101ch,
+ },
++ {
++ .callback = dmi_matched,
++ .ident = "ASUSTeK Computer INC. H87I-PLUS",
++ .matches = {
++ DMI_MATCH(DMI_BOARD_VENDOR, "ASUSTeK COMPUTER INC."),
++ DMI_MATCH(DMI_BOARD_NAME, "H87I-PLUS"),
++ },
++ .driver_data = &quirk_asus_no_backlight,
++ },
+ {},
+ };
+
+--
+1.9.0
+