79bc7c2
From d2200ccf6915d4b357efe1db07257189cad47b86 Mon Sep 17 00:00:00 2001
e6a4d30
From: Hans de Goede <hdegoede@redhat.com>
e6a4d30
Date: Mon, 2 Jun 2014 17:41:10 +0200
6a91557
Subject: [PATCH] acpi-video: Add use native backlight quirk for the ThinkPad
6a91557
 W530
e6a4d30
e6a4d30
Like all of the other *30 ThinkPad models, the W530 has a broken acpi-video
e6a4d30
backlight control. Note in order for this to actually fix things on the
e6a4d30
ThinkPad W530 the commit titled:
e6a4d30
"nouveau: Don't check acpi_video_backlight_support() before registering backlight"
e6a4d30
is also needed.
e6a4d30
e6a4d30
https://bugzilla.redhat.com/show_bug.cgi?id=1093171
e6a4d30
6a91557
Bugzilla: 1093171
6a91557
Upstream-status: Queued for 3.16
6a91557
e6a4d30
Cc: stable@vger.kernel.org
e6a4d30
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
e6a4d30
---
e6a4d30
 drivers/acpi/video.c | 8 ++++++++
e6a4d30
 1 file changed, 8 insertions(+)
e6a4d30
e6a4d30
diff --git a/drivers/acpi/video.c b/drivers/acpi/video.c
6a91557
index bef6c393e8a0..eb82264d9ef9 100644
e6a4d30
--- a/drivers/acpi/video.c
e6a4d30
+++ b/drivers/acpi/video.c
6a91557
@@ -463,6 +463,14 @@ static struct dmi_system_id video_dmi_table[] __initdata = {
e6a4d30
 	},
e6a4d30
 	{
e6a4d30
 	 .callback = video_set_use_native_backlight,
e6a4d30
+	 .ident = "ThinkPad W530",
e6a4d30
+	 .matches = {
e6a4d30
+		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
e6a4d30
+		DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W530"),
e6a4d30
+		},
e6a4d30
+	},
e6a4d30
+	{
e6a4d30
+	 .callback = video_set_use_native_backlight,
e6a4d30
 	 .ident = "ThinkPad X230",
e6a4d30
 	 .matches = {
e6a4d30
 		DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
e6a4d30
-- 
6a91557
1.9.3
e6a4d30