diff options
author | Jani Nikula <ext-jani.1.nikula@nokia.com> | 2009-06-28 22:38:56 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2009-06-28 23:59:23 -0700 |
commit | da0d03fe6cecde837f113a8a587f5a872d0fade0 (patch) | |
tree | 18d08af5bae7bc55ed2f02bf4376f26fcd2f1dfe /drivers/misc/lkdtm.c | |
parent | ca865a77b5949f5c403e0f13de5a5a9cd499a11e (diff) |
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>
Diffstat (limited to 'drivers/misc/lkdtm.c')
0 files changed, 0 insertions, 0 deletions