Input: synaptics - add min/max quirk for the ThinkPad W540
authorHans de Goede <[email protected]>
Wed, 14 May 2014 18:10:40 +0000 (11:10 -0700)
committerDmitry Torokhov <[email protected]>
Wed, 14 May 2014 18:50:32 +0000 (11:50 -0700)
https://bugzilla.redhat.com/show_bug.cgi?id=1096436

Cc: [email protected]
Tested-and-reported-by: [email protected]
Signed-off-by: Hans de Goede <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
drivers/input/mouse/synaptics.c

index d68d33fb5ac20f50fdedf503eb19e39e8de790a2..d4c05b103e74f280aed27030e29fc39707af3307 100644 (file)
@@ -1613,6 +1613,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
                },
                .driver_data = (int []){1024, 5112, 2024, 4832},
        },
+       {
+               /* Lenovo ThinkPad W540 */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W540"),
+               },
+               .driver_data = (int []){1024, 5112, 2024, 4832},
+       },
        {
                /* Lenovo Yoga S1 */
                .matches = {