Input: gpio-keys - avoid possibility of sleeping in timer function
authorJani Nikula <ext-jani.1.nikula@nokia.com>
Mon, 29 Jun 2009 05:38:56 +0000 (22:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 29 Jun 2009 06:59:23 +0000 (23:59 -0700)
commitda0d03fe6cecde837f113a8a587f5a872d0fade0
tree18d08af5bae7bc55ed2f02bf4376f26fcd2f1dfe
parentca865a77b5949f5c403e0f13de5a5a9cd499a11e
Input: gpio-keys - avoid possibility of sleeping in timer function

The gpio_get_value function may sleep, so it should not be called in a
timer function. Move gpio_get_value calls to workqueue.

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