Input: ad7877 - filter events where pressure is beyond the maximum
authorMichael Hennerich <michael.hennerich@analog.com>
Fri, 15 Oct 2010 16:49:08 +0000 (09:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 18 Oct 2010 04:12:46 +0000 (21:12 -0700)
commit1d02ad436235080b8a95a2c86a66cb7b8f2e9df9
treeb7b1e19086ce8f3df55e0eb60c1354f4fe26b37a
parent47026b25fc6cd2d7ec85d4a83c472bca20946a94
Input: ad7877 - filter events where pressure is beyond the maximum

Suppress events where pressure > pressure_max.
These events come typically along with inaccurate X and Y samples.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ad7877.c