aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-05-14 14:10:40 -0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2014-05-14 14:50:32 -0400
commit0b5fe736fe923f1f5e05413878d5990e92ffbdf5 (patch)
tree6a6d2e83c31e5775a35b9c290234b2ff6912e044
parent5d61b54f5e06621d7b1471cbf8b76bc064117225 (diff)
Input: synaptics - add min/max quirk for the ThinkPad W540
https://bugzilla.redhat.com/show_bug.cgi?id=1096436 Cc: stable@vger.kernel.org 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>
-rw-r--r--drivers/input/mouse/synaptics.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
index d68d33fb5ac2..d4c05b103e74 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1614,6 +1614,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = {
1614 .driver_data = (int []){1024, 5112, 2024, 4832}, 1614 .driver_data = (int []){1024, 5112, 2024, 4832},
1615 }, 1615 },
1616 { 1616 {
1617 /* Lenovo ThinkPad W540 */
1618 .matches = {
1619 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
1620 DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad W540"),
1621 },
1622 .driver_data = (int []){1024, 5112, 2024, 4832},
1623 },
1624 {
1617 /* Lenovo Yoga S1 */ 1625 /* Lenovo Yoga S1 */
1618 .matches = { 1626 .matches = {
1619 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), 1627 DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),