Input: gpio-keys - revert 'change timer to workqueue'
authorJani Nikula <ext-jani.1.nikula@nokia.com>
Mon, 29 Jun 2009 05:38:44 +0000 (22:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 29 Jun 2009 06:58:17 +0000 (23:58 -0700)
commitca865a77b5949f5c403e0f13de5a5a9cd499a11e
tree567ebe13fe9800a4a7d6584af4ba012e9472bb91
parent00b8ac409cad653137f087e3ff69c020174cbc15
Input: gpio-keys - revert 'change timer to workqueue'

This reverts commit 0b346838c5862bfe911432956a106d602535d030.

This commit breaks GPIO debouncing by replacing the original mod_timer
with schedule_delayed_work in the interrupt handler. The latter does not
kick the timer further on GPIO line changes as it should to perform
debouncing.

Signed-off-by: Jani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c