| From 8543cf1c247909ce85850ca6e2714adba351d6aa Mon Sep 17 00:00:00 2001 |
| From: Peter Hutterer <peter.hutterer@who-t.net> |
| Date: Mon, 19 Jan 2015 16:29:25 -0800 |
| Subject: Input: synaptics - adjust min/max for Lenovo ThinkPad X1 Carbon 2nd |
| |
| From: Peter Hutterer <peter.hutterer@who-t.net> |
| |
| commit 8543cf1c247909ce85850ca6e2714adba351d6aa upstream. |
| |
| LEN0037 found in the Lenovo ThinkPad X1 Carbon 2nd (2014 model) |
| |
| Reported-and-tested-by: Bjoern Olausson <bjoern@olausson.de> |
| Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> |
| Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> |
| Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| |
| --- |
| drivers/input/mouse/synaptics.c | 7 ++++--- |
| 1 file changed, 4 insertions(+), 3 deletions(-) |
| |
| --- a/drivers/input/mouse/synaptics.c |
| +++ b/drivers/input/mouse/synaptics.c |
| @@ -135,8 +135,9 @@ static const struct min_max_quirk min_ma |
| 1232, 5710, 1156, 4696 |
| }, |
| { |
| - (const char * const []){"LEN0034", "LEN0036", "LEN0039", |
| - "LEN2002", "LEN2004", NULL}, |
| + (const char * const []){"LEN0034", "LEN0036", "LEN0037", |
| + "LEN0039", "LEN2002", "LEN2004", |
| + NULL}, |
| 1024, 5112, 2024, 4832 |
| }, |
| { |
| @@ -165,7 +166,7 @@ static const char * const topbuttonpad_p |
| "LEN0034", /* T431s, L440, L540, T540, W540, X1 Carbon 2nd */ |
| "LEN0035", /* X240 */ |
| "LEN0036", /* T440 */ |
| - "LEN0037", |
| + "LEN0037", /* X1 Carbon 2nd */ |
| "LEN0038", |
| "LEN0039", /* T440s */ |
| "LEN0041", |