[PATCH] Input: elantech - add LEN2146 to SMBus blacklist for ThinkPad L13 Gen2

From: Nikolai Kostrigin
Date: Mon Feb 08 2021 - 03:03:09 EST


ThinkPad L13 Gen2 has both touchpad and trackpoint.
PNP: LEN2146 PNP0f13
With the default protocol (elantech-smbus) trackpoint is not operating,
while touchpad does. Changing to elantech renders both operational.

Signed-off-by: Nikolai Kostrigin <nickel@xxxxxxxxxxxx>
---
drivers/input/mouse/elantech.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/input/mouse/elantech.c b/drivers/input/mouse/elantech.c
index 90f8765f9efc..c4c3fa5828d8 100644
--- a/drivers/input/mouse/elantech.c
+++ b/drivers/input/mouse/elantech.c
@@ -1776,6 +1776,7 @@ static const char * const i2c_blacklist_pnp_ids[] = {
* These are known to not be working properly as bits are missing
* in elan_i2c.
*/
+ "LEN2146", /* ThinkPad L13 Gen2 */
NULL
};

--
2.29.2