]> bbs.cooldavid.org Git - net-next-2.6.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)
commit23c239be223d7427da51656d6f196bde965d9796
treeab99068105a908f9bf99305fce12f0bae64eae26
parent2f09586557ed9b6d50bc8bb5104e70006513bdc2
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