mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-12-02 12:49:20 +00:00
Input: add semaphore and user count to input_dev structure;
serialize open and close calls and ensure that device's
open and close methods are only called when first user
opens it or last user closes it.
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
This commit is contained in:
parent
58a007765b
commit
0fbf87caf7
2 changed files with 32 additions and 5 deletions
Loading…
Add table
Add a link
Reference in a new issue