platform/x86: touchscreen_dmi: Update Hi10 Air filter
authorChristian Oder <me@myself5.de>
Wed, 12 Jun 2019 12:40:53 +0000 (14:40 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 29 Jun 2019 13:04:25 +0000 (16:04 +0300)
Turns out the Hi10 Air is built by multiple companies so using Hampoo
as a filter is not enough to cover all variants.

This has been verified as working on the Hampoo and Morshow version.

Signed-off-by: Christian Oder <me@myself5.de>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/touchscreen_dmi.c

index 1dbb53c3f1e7de9671d292951fa4e8de1739b2df..a07b7fa08c6a9b94956915d06e942ab8b66462d4 100644 (file)
@@ -617,7 +617,8 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
                /* Chuwi Hi10 Air */
                .driver_data = (void *)&chuwi_hi10_air_data,
                .matches = {
-                       DMI_MATCH(DMI_BOARD_VENDOR, "Hampoo"),
+                       DMI_MATCH(DMI_SYS_VENDOR, "CHUWI INNOVATION AND TECHNOLOGY(SHENZHEN)CO.LTD"),
+                       DMI_MATCH(DMI_BOARD_NAME, "Cherry Trail CR"),
                        DMI_MATCH(DMI_PRODUCT_SKU, "P1W6_C109D_B"),
                },
        },