]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Input: synaptics - remove the LEN0049 dmi id from topbuttonpad list
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Fri, 14 Feb 2020 01:07:47 +0000 (17:07 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 14 Feb 2020 01:09:49 +0000 (17:09 -0800)
The Yoga 11e is using LEN0049, but it doesn't have a trackstick.

Thus, there is no need to create a software top buttons row.

However, it seems that the device works under SMBus, so keep it as part
of the smbus_pnp_ids.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/r/20200115013023.9710-1-benjamin.tissoires@redhat.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/synaptics.c

index 36f410aa4bada3a400a409b14e4c79404d97cec0..2c666fb34625ad0df43a4b166e3e1b44e0fbe5d7 100644 (file)
@@ -146,7 +146,6 @@ static const char * const topbuttonpad_pnp_ids[] = {
        "LEN0042", /* Yoga */
        "LEN0045",
        "LEN0047",
-       "LEN0049",
        "LEN2000", /* S540 */
        "LEN2001", /* Edge E431 */
        "LEN2002", /* Edge E531 */
@@ -166,6 +165,7 @@ static const char * const smbus_pnp_ids[] = {
        /* all of the topbuttonpad_pnp_ids are valid, we just add some extras */
        "LEN0048", /* X1 Carbon 3 */
        "LEN0046", /* X250 */
+       "LEN0049", /* Yoga 11e */
        "LEN004a", /* W541 */
        "LEN005b", /* P50 */
        "LEN005e", /* T560 */