Input: ads7846 - pin change interrupt support
authorMichael Roth <mroth@nessie.de>
Thu, 11 Jun 2009 06:30:55 +0000 (23:30 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 11 Jun 2009 09:07:25 +0000 (02:07 -0700)
commitc57c0a2a0d019aa8108f1155f99098ea7e7e1ab3
tree8d0eba178a8f79616908af014124f6dc6447535d
parent7e3f73754e489e8c7742eaba15b608757b5bbb28
Input: ads7846 - pin change interrupt support

Some SoCs support only pin change interrupts on GPIO pins used as irq
lines.

The ads7846 core is not affected from the additional irqs on the rising
edge because the code accounts touch bounce anyway by kicking in a timer
and disabling the irq after the first request and reenabling the irq after
a timeout when there is no longer pen down detected.

Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c