]> git.baikalelectronics.ru Git - kernel.git/commit
Input: matrix_keypad - use flush_delayed_work()
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 7 Feb 2019 22:39:40 +0000 (14:39 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 9 Feb 2019 17:00:03 +0000 (09:00 -0800)
commitfdb26b7f7cd9abcbff340c5d8f4db4e4747c056c
tree859aad5f0f0588e50435201c35669d7fa215ecf0
parent40c0469bc58de5eab63d5ce7e3e800d5fa8558b1
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: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/matrix_keypad.c