diff options
| author | Aaron Ma <[email protected]> | 2019-12-16 09:55:12 +0000 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2019-12-16 10:26:55 +0000 |
| commit | 53870cf03faefa1f0d77fbc366db87d5beda203c (patch) | |
| tree | 63a568388ddec66628370b3f77d928336bdb0fe6 /drivers/acpi/video_detect.c | |
| parent | ACPI: video: fix typo in comment (diff) | |
| download | kernel-53870cf03faefa1f0d77fbc366db87d5beda203c.tar.gz kernel-53870cf03faefa1f0d77fbc366db87d5beda203c.zip | |
ACPI: video: Use native backlight on Lenovo E41-25/45
ACPI backlight control doesn't work on 2 Lenovo E41 laptops.
So force to use native backlight control on them.
Signed-off-by: Aaron Ma <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/video_detect.c')
| -rw-r--r-- | drivers/acpi/video_detect.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c index 31014c7d3793..13ce1bb9facf 100644 --- a/drivers/acpi/video_detect.c +++ b/drivers/acpi/video_detect.c @@ -303,6 +303,22 @@ static const struct dmi_system_id video_detect_dmi_table[] = { }, }, { + .callback = video_detect_force_native, + .ident = "Lenovo E41-25", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "81FS"), + }, + }, + { + .callback = video_detect_force_native, + .ident = "Lenovo E41-45", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "82BK"), + }, + }, + { /* https://bugzilla.redhat.com/show_bug.cgi?id=1217249 */ .callback = video_detect_force_native, .ident = "Apple MacBook Pro 12,1", |
