]> asedeno.scripts.mit.edu Git - linux.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)
commitbab4a6cca024dc202b1e893edbe34f58f1d43f3e
tree59f04d942adf96534195a5b48db8a6fae3b341f7
parent16ab4f43eb953277e915115c1d811d2a518d6bf2
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 e7c2f967445d ("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