Input: ads7846 - debouncing and rudimentary sample filtering
authorImre Deak <imre.deak@nokia.com>
Wed, 12 Apr 2006 03:42:03 +0000 (23:42 -0400)
committerDmitry Torokhov <dtor_core@ameritech.net>
Wed, 12 Apr 2006 03:42:03 +0000 (23:42 -0400)
commit0b7018aae7e1798f55f736b9a77c201708aa0e33
treeb561dbcdb07540ffc76616894dddfa8f787f9202
parent53a0ef89e95c725f3faab98573770aeb7429c1a3
Input: ads7846 - debouncing and rudimentary sample filtering

Some touchscreens seem to oscillate heavily for a while after touching
the screen.  Implement support for sampling the screen until we get two
consecutive values that are close enough.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c
include/linux/spi/ads7846.h