Skip to content
Commit f9fbd8a2 authored by Daniel DeGrasse's avatar Daniel DeGrasse Committed by Carles Cufí
Browse files

drivers: kscan: gt911: ignore touch events if TOUCH_STATUS mask is clear



Ignore touch events from GT911 IC when TOUCH_STATUS_MSK bit is not set
in status register. This resolves an error where the GT911 driver would
report a touch event end directly after a touch occured, as the touch
status register would be 0x0, which the driver incorrectly interpreted
as a touch release.

Signed-off-by: default avatarDaniel DeGrasse <daniel.degrasse@nxp.com>
parent 7ef5445e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment