Input: synaptics - add manual min/max quirk for ThinkPad X240
authorHans de Goede <hdegoede@redhat.com>
Fri, 28 Mar 2014 08:01:38 +0000 (01:01 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 28 Mar 2014 16:02:01 +0000 (09:02 -0700)
This extends Benjamin Tissoires manual min/max quirk table with support for
the ThinkPad X240.

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c

index ef148f997c845be249915702bb995a81370995e6..d8d49d10f9bb60d477124bba603fb9f61be1efdb 100644 (file)
@@ -1506,6 +1506,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
                },
                .driver_data = (int []){1024, 5052, 2258, 4832},
        },
+       {
+               /* Lenovo ThinkPad X240 */
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X240"),
+               },
+               .driver_data = (int []){1232, 5710, 1156, 4696},
+       },
        {
                /* Lenovo ThinkPad T440s */
                .matches = {