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

Input: atkbd - fix canceling event_work in disconnect



We need to first unregister input device and only then cancel event work
since events can arrive (and cause event work to get scheduled again)
until input_unregister_device() returns.

Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 59b01513
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