aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-05-14 11:10:40 -0700
committerBen Hutchings <ben@decadent.org.uk>2014-07-11 13:33:34 +0100
commit8a5f808119565bdb8c48c897d5e626f5d7bfb122 (patch)
treeb66d4a1ff2217e64730c0b97ebcdb6a5fade144d /drivers/input
parent2e87c9895d55ef1df895b766d207f52da391680e (diff)
downloadkernel_samsung_smdk4412-8a5f808119565bdb8c48c897d5e626f5d7bfb122.zip
kernel_samsung_smdk4412-8a5f808119565bdb8c48c897d5e626f5d7bfb122.tar.gz
kernel_samsung_smdk4412-8a5f808119565bdb8c48c897d5e626f5d7bfb122.tar.bz2
Input: synaptics - add min/max quirk for the ThinkPad W540
commit 0b5fe736fe923f1f5e05413878d5990e92ffbdf5 upstream. https://bugzilla.redhat.com/show_bug.cgi?id=1096436 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> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Diffstat (limited to 'drivers/input')
-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 8a39807..4e8e283 100644
--- a/drivers/input/mouse/synaptics.c
+++ b/drivers/input/mouse/synaptics.c
@@ -1442,6 +1442,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 = {
DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),