]> git.baikalelectronics.ru Git - kernel.git/commit
Input: qt2160 - remove redundant spinlock
authorSven Van Asbroeck <TheSven73@gmail.com>
Mon, 11 Feb 2019 22:15:54 +0000 (14:15 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 17 Feb 2019 05:39:42 +0000 (21:39 -0800)
commitf75ed635662d6b6adaa2ab52a92682d8797b3547
tree59f04d942adf96534195a5b48db8a6fae3b341f7
parent288662c124374a622b336702d40938b69c627d7d
Input: qt2160 - remove redundant spinlock

Remove a spinlock which prevents schedule_delayed_work() and
mod_delayed_work() from executing concurrently.

This was required back when mod_delayed_work() did not exist,
and had to be implemented with a cancel + schedule. See
commit 11e0af0690e6 ("workqueue: use mod_delayed_work() instead of
__cancel + queue")

schedule_delayed_work() and mod_delayed_work() can now be used
concurrently. So the spinlock is no longer needed.

Signed-off-by: Sven Van Asbroeck <TheSven73@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/keyboard/qt2160.c