OSDN Git Service

platform/x86: touchscreen_dmi: Add info for the Trekstor Primebook C11B 2-in-1
authorHans de Goede <hdegoede@redhat.com>
Sun, 18 Aug 2019 11:04:51 +0000 (13:04 +0200)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 7 Sep 2019 18:16:09 +0000 (21:16 +0300)
Add touchscreen info for the Trekstor Primebook C11B 2-in-1, note the C11B
used the same touchscreen as the regular C11, so we only add a new DMI
match.

Cc: Thomas Hiller <thomas.hiller@gmx.de>
Reported-and-tested-by: Thomas Hiller <thomas.hiller@gmx.de>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/touchscreen_dmi.c

index 0ccd799..1c7d832 100644 (file)
@@ -934,6 +934,14 @@ static const struct dmi_system_id touchscreen_dmi_table[] = {
                },
        },
        {
+               /* Trekstor Primebook C11B (same touchscreen as the C11) */
+               .driver_data = (void *)&trekstor_primebook_c11_data,
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "TREKSTOR"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "PRIMEBOOK C11B"),
+               },
+       },
+       {
                /* Trekstor Primebook C13 */
                .driver_data = (void *)&trekstor_primebook_c13_data,
                .matches = {