projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'upstream' of git://ftp.linux-mips.org/pub/scm/upstream-linus
[cascardo/linux.git]
/
drivers
/
input
/
tsdev.c
diff --git
a/drivers/input/tsdev.c
b/drivers/input/tsdev.c
index
8238b13
..
2db3648
100644
(file)
--- a/
drivers/input/tsdev.c
+++ b/
drivers/input/tsdev.c
@@
-476,9
+476,9
@@
static void tsdev_disconnect(struct input_handle *handle)
if (tsdev->open) {
input_close_device(handle);
if (tsdev->open) {
input_close_device(handle);
- wake_up_interruptible(&tsdev->wait);
list_for_each_entry(client, &tsdev->client_list, node)
kill_fasync(&client->fasync, SIGIO, POLL_HUP);
list_for_each_entry(client, &tsdev->client_list, node)
kill_fasync(&client->fasync, SIGIO, POLL_HUP);
+ wake_up_interruptible(&tsdev->wait);
} else
tsdev_free(tsdev);
}
} else
tsdev_free(tsdev);
}