Input: synaptics - add min/max quirk for the ThinkPad W540
authorHans de Goede <hdegoede@redhat.com>
Wed, 14 May 2014 18:10:40 +0000 (11:10 -0700)
committerJiri Slaby <jslaby@suse.cz>
Mon, 9 Jun 2014 13:53:29 +0000 (15:53 +0200)
commit 0b5fe736fe923f1f5e05413878d5990e92ffbdf5 upstream.

https://bugzilla.redhat.com/show_bug.cgi?id=1096436

Tested-and-reported-by: ajayr@bigfoot.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/mouse/synaptics.c

index 3c511c4adaca9b5c73457be89851c12a198b4924..fa1dee55d2080b070e000ac5fb61356eb078db64 100644 (file)
@@ -1562,6 +1562,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 = {