Touchscreen spurious event fix
authorJames Hughes <james.hughes@raspberrypi.org>
Fri, 22 Sep 2017 09:24:04 +0000 (10:24 +0100)
committerpopcornmix <popcornmix@gmail.com>
Fri, 22 Sep 2017 16:34:09 +0000 (17:34 +0100)
commit99ba5ffa4a257af5a1491d65960131a3ab84cffa
tree7c9c48c4113d186c4f603c629f877162da2cd893
parent800eea60db8f5d064a2e273a839060b3d759d9fa
Touchscreen spurious event fix

Touchscreen driver was not checking event type,
which meant bad coords that arrived with the
finger up event were being used, causing this
spurious coordinate event.

Fix is to ignore all finger up events.

Signed-off-by: James Hughes <james.hughes@raspberrypi.org>
drivers/input/touchscreen/rpi-ft5406.c