summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/video_detect.c
diff options
context:
space:
mode:
authorStepan Bujnak <stepanbujnak@fastmail.fm>2014-09-10 17:44:43 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-09-24 23:09:41 +0200
commita11d342fb89aedec5003d116e7427d43cbba714d (patch)
treee29308f48514ace17116085c76044a8c4308ed2a /drivers/acpi/video_detect.c
parente4d38b55504f5675703244fa45491d74cbf183ee (diff)
downloadlinux-a11d342fb89aedec5003d116e7427d43cbba714d.tar.bz2
ACPI / video: force vendor backlight on Lenovo Ideapad Z570
Lenovo Ideapad 570 is a pre-win8 laptop where not using vendor backlight causes the backlight controls not to work. Signed-off-by: Stepan Bujnak <stepanbujnak@fastmail.fm> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/video_detect.c')
-rw-r--r--drivers/acpi/video_detect.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index c42feb2bacd0..27c43499977a 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -174,6 +174,14 @@ static struct dmi_system_id video_detect_dmi_table[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Inspiron 5737"),
},
},
+ {
+ .callback = video_detect_force_vendor,
+ .ident = "Lenovo IdeaPad Z570",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Ideapad Z570"),
+ },
+ },
{ },
};