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

Input: sparse-keymap - implement safer freeing of the keymap



Allow calling sparse_keymap_free() before unregistering input device
whithout risk of racing with EVIOCGETKEYCODE and EVIOCSETKEYCODE.
This makes life of drivers writers easier.

Acked-by: default avatarYong Wang <yong.y.wang@intel.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 13bad37b
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