commit | eb08b6b973cb91311431c6eea3cc232b97152a84 | [log] [tgz] |
---|---|---|
author | Björn Steinbrink <B.Steinbrink@gmx.de> | Sun Mar 30 20:42:59 2008 +0200 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Sun Mar 30 14:47:49 2008 -0700 |
tree | e5ee937a643f86302abaf72ff1fd09e381d445ec | |
parent | d6e4218e28b75c4701a8c8d12e989de1dc97c182 [diff] |
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: Björn Steinbrink <B.Steinbrink@gmx.de> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>