diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2011-11-25 11:24:28 +0530 |
---|---|---|
committer | Varun Wadekar <vwadekar@nvidia.com> | 2011-12-09 13:59:52 +0530 |
commit | a56026d14c2d68497124ddd2bf59a0bb749bf87e (patch) | |
tree | cdb991bdc965c25c340b0916c84a295607b8f788 /drivers/input/touchscreen/gunze.c | |
parent | 3cd3ada642b7cfe2f2cce92c28685232991da343 (diff) |
input: touch: atmel_mxt_ts: sanity check pressure value
The hardware gives you 0 as the pressure even for
valid touches. Pass a default value if you get
pressure value outside limits from the hardware during
a 'press'.
Pass pressure as 0, for a 'release'.
Change-Id: Id858240464474d3c18e4bae9768f41327c5d4124
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/gunze.c')
0 files changed, 0 insertions, 0 deletions