]> www.infradead.org Git - users/jedix/linux-maple.git/commit
Input: ilitek_ts_i2c - avoid wrong input subsystem sync
authorEmanuele Ghidoli <emanuele.ghidoli@toradex.com>
Mon, 5 Aug 2024 08:55:10 +0000 (10:55 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 5 Aug 2024 17:33:19 +0000 (10:33 -0700)
commit7d0b18cd5dc7429917812963611d961fd93cb44d
tree6a7d29e05b16a6db9c628e07254d9dbee0ee0121
parent14d650fcb7fb57f121fda361b9f63eeefd8d59a5
Input: ilitek_ts_i2c - avoid wrong input subsystem sync

For different reasons i2c transaction may fail or report id in the
message may be wrong. Avoid closing the frame in this case as it will
result in all contacts being dropped, indicating that nothing is
touching the screen anymore, while usually it is not the case.

Fixes: 42370681bd46 ("Input: Add support for ILITEK Lego Series")
Signed-off-by: Emanuele Ghidoli <emanuele.ghidoli@toradex.com>
Signed-off-by: Francesco Dolcini <francesco.dolcini@toradex.com>
Link: https://lore.kernel.org/r/20240805085511.43955-2-francesco@dolcini.it
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/ilitek_ts_i2c.c