Merge remote-tracking branch 'lsk/v3.10/topic/gator' into linux-linaro-lsk
[firefly-linux-kernel-4.4.55.git] / drivers / input / mouse / synaptics.c
index d60c9b7ad1b8a9c1eed1c2185879dfdb80d4866e..f36f7b88f2603d3cbe16eb2a88dffa63091362cd 100644 (file)
@@ -1552,7 +1552,7 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
                        DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
                        DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T540"),
                },
-               .driver_data = (int []){1024, 5056, 2058, 4832},
+               .driver_data = (int []){1024, 5112, 2024, 4832},
        },
        {
                /* Lenovo ThinkPad L540 */
@@ -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 = {