Skip to content
Commit dd802fc0 authored by Nick Hollinghurst's avatar Nick Hollinghurst Committed by njhollinghurst
Browse files

input: touchscreen: edt-ft5x06: Suppress bogus data on startup



When polled without the use of IRQ, FT5x06 registers may return
undefined initial data, causing unwanted touches or event spamming.
A simple way to filter this out is to suppress touches until the
TD_STATUS register changes for the first time.

Increase the delay before first polling to 300ms, to avoid
transient I2C read flakiness that seems to occur after reset.

Signed-off-by: default avatarNick Hollinghurst <nick.hollinghurst@raspberrypi.com>
parent 5f95ac33
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment