]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4f539a43f98d83ac4d586613342a906dc46fb222
tree8d0eba178a8f79616908af014124f6dc6447535d
parent0079d9910dd79f036b085c3bbcb3f04b73f319a8
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