]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ads7846: filtering based on pressure value
authorImre Deak <imre.deak@nokia.com>
Wed, 22 Mar 2006 15:42:07 +0000 (11:42 -0400)
committerJuha Yrjola <juha.yrjola@nokia.com>
Wed, 22 Mar 2006 15:42:07 +0000 (11:42 -0400)
commit0bd6f714d5b86d58659ba184507b86f1f67cf802
treef6bfd8fc4cda622932fcb85289be7c3eb83802a5
parentaf573a5b67191c0931a145387c472b18112edcf1
ads7846: filtering based on pressure value

Limit the pressure value to the maximum specified in the board-
specific file. Samples with pressure values beyond the maximum are
considered non-reliable. Report the previously measured X and Y
values samples instead of the non-reliable ones.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
Signed-off-by: Juha Yrjola <juha.yrjola@nokia.com>
drivers/input/touchscreen/ads7846.c