Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 87954
b: refs/heads/master
c: eb08b6b
h: refs/heads/master
v: v3
  • Loading branch information
Björn Steinbrink authored and Linus Torvalds committed Mar 30, 2008
1 parent 0dc4f0a commit 856fc5f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d6e4218e28b75c4701a8c8d12e989de1dc97c182
refs/heads/master: eb08b6b973cb91311431c6eea3cc232b97152a84
3 changes: 3 additions & 0 deletions trunk/drivers/input/evdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,6 +853,9 @@ static void evdev_cleanup(struct evdev *evdev)
evdev_hangup(evdev);
evdev_remove_chrdev(evdev);

if (evdev->grab)
evdev_ungrab(evdev, evdev->grab);

/* evdev is marked dead so no one else accesses evdev->open */
if (evdev->open) {
input_flush_device(handle, NULL);
Expand Down

0 comments on commit 856fc5f

Please sign in to comment.