summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2023-02-02 13:44:49 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2023-02-06 18:58:55 +0100
commit2d11eae42d52a131f06061015e49dc0f085c5bfc (patch)
tree0f4dac51b190e1618dbb61730b6ce1fe3b72f5c4 /drivers/acpi
parent4ec5183ec48656cec489c49f989c508b68b518e3 (diff)
downloadlinux-2d11eae42d52a131f06061015e49dc0f085c5bfc.tar.gz
linux-2d11eae42d52a131f06061015e49dc0f085c5bfc.tar.bz2
linux-2d11eae42d52a131f06061015e49dc0f085c5bfc.zip
ACPI: video: Fix Lenovo Ideapad Z570 DMI match
Multiple Ideapad Z570 variants need acpi_backlight=native to force native use on these pre Windows 8 machines since acpi_video backlight control does not work here. The original DMI quirk matches on a product_name of "102434U" but other variants may have different product_name-s such as e.g. "1024D9U". Move to checking product_version instead as is more or less standard for Lenovo DMI quirks for similar reasons. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/video_detect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/video_detect.c b/drivers/acpi/video_detect.c
index a8c02608dde4..710ac640267d 100644
--- a/drivers/acpi/video_detect.c
+++ b/drivers/acpi/video_detect.c
@@ -434,7 +434,7 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
/* Lenovo Ideapad Z570 */
.matches = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
- DMI_MATCH(DMI_PRODUCT_NAME, "102434U"),
+ DMI_MATCH(DMI_PRODUCT_VERSION, "Ideapad Z570"),
},
},
{