summaryrefslogtreecommitdiffstats
path: root/Input-synaptics-skip-quirks-when-post-2013-dimension.patch
diff options
context:
space:
mode:
authorJosh Boyer <jwboyer@fedoraproject.org>2015-03-11 09:17:47 -0400
committerJosh Boyer <jwboyer@fedoraproject.org>2015-03-11 09:18:03 -0400
commit80e48d0c7e8aced5df19d369961137f58ba97811 (patch)
treed9d7ddc5037d2b2b4189551f3846a868531fec33 /Input-synaptics-skip-quirks-when-post-2013-dimension.patch
parent73947052943a62125227728baddc88ef6934ae9d (diff)
downloadkernel-80e48d0c7e8aced5df19d369961137f58ba97811.tar.gz
kernel-80e48d0c7e8aced5df19d369961137f58ba97811.tar.xz
kernel-80e48d0c7e8aced5df19d369961137f58ba97811.zip
Patch series to fix Lenovo *40 and Carbon X1 touchpads (rhbz 1200777 1200778)
Diffstat (limited to 'Input-synaptics-skip-quirks-when-post-2013-dimension.patch')
-rw-r--r--Input-synaptics-skip-quirks-when-post-2013-dimension.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/Input-synaptics-skip-quirks-when-post-2013-dimension.patch b/Input-synaptics-skip-quirks-when-post-2013-dimension.patch
new file mode 100644
index 000000000..de96ed85c
--- /dev/null
+++ b/Input-synaptics-skip-quirks-when-post-2013-dimension.patch
@@ -0,0 +1,39 @@
+From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
+Date: Sun, 8 Mar 2015 22:29:25 -0700
+Subject: [PATCH] Input: synaptics - skip quirks when post-2013 dimensions
+
+Post-2013 Lenovo laptops provide correct min/max dimensions, which are
+different with the ones currently quirked. According to
+https://bugzilla.kernel.org/show_bug.cgi?id=91541 the following board ids
+are assigned in the post-2013 touchpads:
+
+t440p/t440s: LEN0036 -> 2964/2962
+t540p: LEN0034 -> 2964
+
+Using 2961 as the common minimum makes these 3 laptops OK. We may need
+to update those values later if other pnp_ids has a lower board_id.
+
+Cc: stable@vger.kernel.org
+Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
+Acked-by: Hans de Goede <hdegoede@redhat.com>
+Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
+---
+ drivers/input/mouse/synaptics.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
+index aeccd562a2e3..134676303117 100644
+--- a/drivers/input/mouse/synaptics.c
++++ b/drivers/input/mouse/synaptics.c
+@@ -147,7 +147,7 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
+ (const char * const []){"LEN0034", "LEN0036", "LEN0037",
+ "LEN0039", "LEN2002", "LEN2004",
+ NULL},
+- {ANY_BOARD_ID, ANY_BOARD_ID},
++ {ANY_BOARD_ID, 2961},
+ 1024, 5112, 2024, 4832
+ },
+ {
+--
+2.1.0
+