Skip to content
Commit a342083a authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: matrix_keypad - use flush_delayed_work()



We should be using flush_delayed_work() instead of flush_work() in
matrix_keypad_stop() to ensure that we are not missing work that is
scheduled but not yet put in the workqueue (i.e. its delay timer has not
expired yet).

Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent 33a841ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment