|
|
a1ef73d |
From: Benjamin Tissoires <benjamin.tissoires@redhat.com>
|
|
|
a1ef73d |
Date: Sun, 8 Mar 2015 22:29:25 -0700
|
|
|
a1ef73d |
Subject: [PATCH] Input: synaptics - skip quirks when post-2013 dimensions
|
|
|
a1ef73d |
|
|
|
a1ef73d |
Post-2013 Lenovo laptops provide correct min/max dimensions, which are
|
|
|
a1ef73d |
different with the ones currently quirked. According to
|
|
|
a1ef73d |
https://bugzilla.kernel.org/show_bug.cgi?id=91541 the following board ids
|
|
|
a1ef73d |
are assigned in the post-2013 touchpads:
|
|
|
a1ef73d |
|
|
|
a1ef73d |
t440p/t440s: LEN0036 -> 2964/2962
|
|
|
a1ef73d |
t540p: LEN0034 -> 2964
|
|
|
a1ef73d |
|
|
|
a1ef73d |
Using 2961 as the common minimum makes these 3 laptops OK. We may need
|
|
|
a1ef73d |
to update those values later if other pnp_ids has a lower board_id.
|
|
|
a1ef73d |
|
|
|
a1ef73d |
Cc: stable@vger.kernel.org
|
|
|
a1ef73d |
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
|
|
|
a1ef73d |
Acked-by: Hans de Goede <hdegoede@redhat.com>
|
|
|
a1ef73d |
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
|
|
a1ef73d |
---
|
|
|
a1ef73d |
drivers/input/mouse/synaptics.c | 2 +-
|
|
|
a1ef73d |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
a1ef73d |
|
|
|
a1ef73d |
diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c
|
|
|
a1ef73d |
index a900a385e5c3..9567a708aa64 100644
|
|
|
a1ef73d |
--- a/drivers/input/mouse/synaptics.c
|
|
|
a1ef73d |
+++ b/drivers/input/mouse/synaptics.c
|
|
|
a1ef73d |
@@ -144,7 +144,7 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
|
|
|
a1ef73d |
(const char * const []){"LEN0034", "LEN0036", "LEN0037",
|
|
|
a1ef73d |
"LEN0039", "LEN2002", "LEN2004",
|
|
|
a1ef73d |
NULL},
|
|
|
a1ef73d |
- {ANY_BOARD_ID, ANY_BOARD_ID},
|
|
|
a1ef73d |
+ {ANY_BOARD_ID, 2961},
|
|
|
a1ef73d |
1024, 5112, 2024, 4832
|
|
|
a1ef73d |
},
|
|
|
a1ef73d |
{
|
|
|
a1ef73d |
--
|
|
|
a1ef73d |
2.1.0
|
|
|
a1ef73d |
|