]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Input: synaptics - add min/max quirk for Lenovo S540
authorPeter Hutterer <peter.hutterer@who-t.net>
Mon, 8 Jun 2015 17:17:32 +0000 (10:17 -0700)
committerJiri Slaby <jslaby@suse.cz>
Tue, 23 Jun 2015 12:55:11 +0000 (14:55 +0200)
commit 7f2ca8b55aeff1fe51ed3570200ef88a96060917 upstream.

https://bugzilla.redhat.com/show_bug.cgi?id=1223051#c2

Tested-by: tommy.gagnes@gmail.com
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/mouse/synaptics.c

index b00e282ef1665f1b7403bd66e01ec4ffc036d463..53f09a8b0b72d66dd12abe5c4e6a2f263152db8d 100644 (file)
@@ -137,6 +137,10 @@ static const struct min_max_quirk min_max_pnpid_table[] = {
                                        NULL},
                1024, 5112, 2024, 4832
        },
+       {
+               (const char * const []){"LEN2000", NULL},
+               1024, 5113, 2021, 4832
+       },
        {
                (const char * const []){"LEN2001", NULL},
                1024, 5022, 2508, 4832
@@ -173,7 +177,7 @@ static const char * const topbuttonpad_pnp_ids[] = {
        "LEN0047",
        "LEN0048",
        "LEN0049",
-       "LEN2000",
+       "LEN2000", /* S540 */
        "LEN2001", /* Edge E431 */
        "LEN2002", /* Edge E531 */
        "LEN2003",