Skip to content
Commit eb08b6b9 authored by Björn Steinbrink's avatar Björn Steinbrink Committed by Linus Torvalds
Browse files

evdev: Release eventual input device grabs when getting disconnected



When getting disconnected we need to release eventual grabs on the
underlying input device as we also release the input device itself.
Otherwise, we would try to release the grab when the client that
requested it closes its handle, accessing the input device which
might already be freed.

Signed-off-by: default avatarBjörn Steinbrink <B.Steinbrink@gmx.de>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d6e4218e
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