diff options
author | Dmitry Mastykin <[email protected]> | 2020-03-24 11:38:28 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2020-03-24 15:08:36 -0700 |
commit | 24ef83f6e31d20fc121a7cd732b04b498475fca3 (patch) | |
tree | c30ffc60ce36d49443f3051e37bec61a37228eef /tools/perf/util/trace-event-scripting.c | |
parent | 9e1f2d70ec3998e6d9948f8ac616db21fa4243d5 (diff) |
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 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions