android_kernel_motorola_sm6375/drivers/input
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dmitry Mastykin 9ce35dad5a Input: goodix - fix spurious key release events
commit 24ef83f6e31d20fc121a7cd732b04b498475fca3 upstream.

The goodix panel sends spurious interrupts after a 'finger up' event,
which always cause a timeout.
We were exiting the interrupt handler by reporting touch_num == 0, but
this was still processed as valid and caused the code to use the
uninitialised point_data, creating spurious key release events.

Report an error from the interrupt handler so as to avoid processing
invalid point_data further.

Signed-off-by: Dmitry Mastykin <[email protected]>
Reviewed-by: Bastien Nocera <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Torokhov <[email protected]>
Cc: Fabio Estevam <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
2022-06-06 08:33:48 +02:00
..
gameport
joystick Input: spaceball - fix parsing of movement data packets 2022-01-05 12:37:46 +01:00
keyboard Input: snvs_pwrkey - add clk handling 2021-10-27 09:54:29 +02:00
misc
mouse Input: elan_i2c - fix regulator enable count imbalance after suspend/resume 2022-03-08 19:07:50 +01:00
rmi4
serio Input: i8042 - enable deferred probe quirk for ASUS UM325UA 2022-01-05 12:37:43 +01:00
tablet Input: aiptek - properly check endpoint type 2022-03-23 09:12:07 +01:00
touchscreen Input: goodix - fix spurious key release events 2022-06-06 08:33:48 +02:00
apm-power.c
evbug.c
evdev.c
ff-core.c
ff-memless.c
input-compat.c
input-compat.h
input-leds.c
input-mt.c
input-polldev.c
input-poller.c
input-poller.h
input.c Input: add bounds checking to input_set_capability() 2022-05-25 09:14:32 +02:00
joydev.c
Kconfig
Makefile
matrix-keymap.c
mousedev.c
sparse-keymap.c