diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-03-28 01:01:38 -0700 |
---|---|---|
committer | Ben Hutchings <ben@decadent.org.uk> | 2014-04-09 02:20:44 +0100 |
commit | 70e84c82a975fe66d91a9b11459881d488b118ae (patch) | |
tree | 2c0ea09c3b40de4ecde1f55e78b472d6a30031fc /drivers/input | |
parent | d4249ff3b36d6560b19ef5b84d96c8d382e85d91 (diff) | |
download | lwn-70e84c82a975fe66d91a9b11459881d488b118ae.tar.gz lwn-70e84c82a975fe66d91a9b11459881d488b118ae.zip |
Input: synaptics - add manual min/max quirk for ThinkPad X240
commit 8a0435d958fb36d93b8df610124a0e91e5675c82 upstream.
This extends Benjamin Tissoires manual min/max quirk table with support for
the ThinkPad X240.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/input')
-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 b57556a4dc00..bc35070daf78 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c @@ -1386,6 +1386,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 = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |