]> git.baikalelectronics.ru Git - kernel.git/commit
Input: mms114 - support MMS136
authorLinus Walleij <linus.walleij@linaro.org>
Sat, 10 Apr 2021 06:04:35 +0000 (23:04 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 10 Apr 2021 06:23:01 +0000 (23:23 -0700)
commit7f56a99f74e027529f6ffbabeeec3808c772b2b0
treecfbe732cedc6f1434794f7e55e1ca0aae2488c7d
parent152c2e2574b736386c8633fe2ffa6c9375b47572
Input: mms114 - support MMS136

The Melfas MMS136 is similar to the other MMS variants but
has event packages of 6 bytes rather than 8 as the others.

The define is named FINGER_EVENT_SZ in the vendor drivers
so I renamed it from MMS*_PACKET_SZ to MMS*_EVENT_SZ.

After this patch, the touchscreen on the Samsung GT-I8530
works fine with PostmarketOS.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20210404232619.3092682-1-linus.walleij@linaro.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/mms114.c