]> git.baikalelectronics.ru Git - kernel.git/commit
Input: s3c24xx_ts - report touch only when stylus is down
authorVasily Khoruzhick <anarsoul@gmail.com>
Sat, 20 Feb 2010 09:06:20 +0000 (01:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 20 Feb 2010 09:22:36 +0000 (01:22 -0800)
commit2a65a179ed21f7dda4f1d97a7806928295c38fac
treeab99068105a908f9bf99305fce12f0bae64eae26
parenta6e1705b102e52f02861a84c5048193665044c2e
Input: s3c24xx_ts - report touch only when stylus is down

Currently driver reports touches when it gets (1 << ts.shift) samples,
even if stylus is up, which is incorrect. We should only report coordinates
and touch condition when stylus is down.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/s3c2410_ts.c