ACPI: video: Make Lenovo Yoga Tab 3 X90F DMI match less strict
authorHans de Goede <hdegoede@redhat.com>
Sun, 25 Aug 2024 13:23:21 +0000 (15:23 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 29 Aug 2024 10:47:53 +0000 (12:47 +0200)
There are 2G and 4G RAM versions of the Lenovo Yoga Tab 3 X90F and it
turns out that the 2G version has a DMI product name of
"CHERRYVIEW D1 PLATFORM" where as the 4G version has
"CHERRYVIEW C0 PLATFORM". The sys-vendor + product-version check are
unique enough that the product-name check is not necessary.

Drop the product-name check so that the existing DMI match for the 4G
RAM version also matches the 2G RAM version.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://patch.msgid.link/20240825132322.6776-1-hdegoede@redhat.com
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/video_detect.c

index 75a5f559402f875770728a7f162fb3e27f40b289..be24af9da1780af396baefa4672b47e5a74e21ed 100644 (file)
@@ -904,7 +904,6 @@ static const struct dmi_system_id video_detect_dmi_table[] = {
         /* Lenovo Yoga Tab 3 Pro YT3-X90F */
         .matches = {
                DMI_MATCH(DMI_SYS_VENDOR, "Intel Corporation"),
-               DMI_MATCH(DMI_PRODUCT_NAME, "CHERRYVIEW D1 PLATFORM"),
                DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"),
                },
        },