aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/gcc-plugins/gcc-common.h
diff options
context:
space:
mode:
authorDmitry Mastykin <[email protected]>2020-03-24 18:38:28 +0000
committerDmitry Torokhov <[email protected]>2020-03-24 22:08:36 +0000
commit24ef83f6e31d20fc121a7cd732b04b498475fca3 (patch)
treec30ffc60ce36d49443f3051e37bec61a37228eef /scripts/gcc-plugins/gcc-common.h
parentInput: goodix - try to reset the controller if the i2c-test fails (diff)
downloadkernel-24ef83f6e31d20fc121a7cd732b04b498475fca3.tar.gz
kernel-24ef83f6e31d20fc121a7cd732b04b498475fca3.zip
Input: goodix - fix spurious key release events
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]>
Diffstat (limited to 'scripts/gcc-plugins/gcc-common.h')
0 files changed, 0 insertions, 0 deletions