]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: synaptics - add a second working PNP_ID for Lenovo T470s
authorDennis Kadioglu <denk@eclipso.email>
Wed, 27 May 2020 06:03:13 +0000 (23:03 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 27 May 2020 06:11:28 +0000 (23:11 -0700)
The Lenovo Thinkpad T470s I own has a different touchpad with "LEN007a"
instead of the already included PNP ID "LEN006c". However, my touchpad
seems to work well without any problems using RMI. So this patch adds the
other PNP ID.

Signed-off-by: Dennis Kadioglu <denk@eclipso.email>
Link: https://lore.kernel.org/r/ff770543cd53ae818363c0fe86477965@mail.eclipso.de
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c

index 4d2036209b45d9391828daeeeea5d583729a821e..758dae8d650066006189ef429c589ddedf87bf27 100644 (file)
@@ -170,6 +170,7 @@ static const char * const smbus_pnp_ids[] = {
        "LEN005b", /* P50 */
        "LEN005e", /* T560 */
        "LEN006c", /* T470s */
+       "LEN007a", /* T470s */
        "LEN0071", /* T480 */
        "LEN0072", /* X1 Carbon Gen 5 (2017) - Elan/ALPS trackpoint */
        "LEN0073", /* X1 Carbon G5 (Elantech) */