Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33186
b: refs/heads/master
c: a2b2ed2
h: refs/heads/master
v: v3
  • Loading branch information
Andrew Morton authored and Dmitry Torokhov committed Jul 15, 2006
1 parent 13c5093 commit 7caf715
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b53174fb5a0e47a19e10b8ef74ab0c12a19f92dc
refs/heads/master: a2b2ed2ce20ae6c335a27ae5bf8580f385014e70
8 changes: 5 additions & 3 deletions trunk/drivers/input/input.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,10 +236,12 @@ EXPORT_SYMBOL(input_grab_device);

void input_release_device(struct input_handle *handle)
{
if (handle->dev->grab == handle) {
handle->dev->grab = NULL;
struct input_dev *dev = handle->dev;

if (dev->grab == handle) {
dev->grab = NULL;

list_for_each_entry(handle, &handle->dev->h_list, d_node)
list_for_each_entry(handle, &dev->h_list, d_node)
if (handle->handler->start)
handle->handler->start(handle);
}
Expand Down

0 comments on commit 7caf715

Please sign in to comment.