Input: da9034-ts - make pen {down,up} events more reliable
commit7f6d5ff22b06d0c4db7b3b1eae336a19e88f808c
authorEric Miao <eric.y.miao@gmail.com>
Tue, 14 Apr 2009 17:38:35 +0000 (14 10:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 15 Apr 2009 15:58:22 +0000 (15 08:58 -0700)
tree398a0a72a95d0db453fa702e20c8e8654eaf034a
parent93ff27c66de5c9eb0ead1e6f979afa97cbcf1e9d
Input: da9034-ts - make pen {down,up} events more reliable

PEN_{UP/DOWN} events are expected to be available soon after stopping
TSI auto measurement, but this is found not always be true. Work around
this by adding delay and simulating such an event (according to pen down
status bit).

Signed-off-by: Bin Yang <bin.yang@marvell.com>
Signed-off-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/da9034-ts.c