diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-28 04:01:38 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2014-03-28 12:02:01 -0400 |
commit | 8a0435d958fb36d93b8df610124a0e91e5675c82 (patch) | |
tree | d7624c8e4af79a747de51a650cb35f95e61d4050 | |
parent | 421e08c41fda1f0c2ff6af81a67b491389b653a5 (diff) |
Input: synaptics - add manual min/max quirk for ThinkPad X240
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>
-rw-r--r-- | drivers/input/mouse/synaptics.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c index ef148f997c84..d8d49d10f9bb 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c | |||
@@ -1507,6 +1507,14 @@ static const struct dmi_system_id min_max_dmi_table[] __initconst = { | |||
1507 | .driver_data = (int []){1024, 5052, 2258, 4832}, | 1507 | .driver_data = (int []){1024, 5052, 2258, 4832}, |
1508 | }, | 1508 | }, |
1509 | { | 1509 | { |
1510 | /* Lenovo ThinkPad X240 */ | ||
1511 | .matches = { | ||
1512 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | ||
1513 | DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad X240"), | ||
1514 | }, | ||
1515 | .driver_data = (int []){1232, 5710, 1156, 4696}, | ||
1516 | }, | ||
1517 | { | ||
1510 | /* Lenovo ThinkPad T440s */ | 1518 | /* Lenovo ThinkPad T440s */ |
1511 | .matches = { | 1519 | .matches = { |
1512 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), | 1520 | DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |