Skip to content
Commit da0d03fe authored by Jani Nikula's avatar Jani Nikula Committed by Dmitry Torokhov
Browse files

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: default avatarJani Nikula <ext-jani.1.nikula@nokia.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent ca865a77
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment