diff options
Diffstat (limited to 'drivers/input/tsdev.c')
-rw-r--r-- | drivers/input/tsdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/tsdev.c b/drivers/input/tsdev.c index 5e5b5c91d75b..af4581d00d82 100644 --- a/drivers/input/tsdev.c +++ b/drivers/input/tsdev.c | |||
@@ -477,9 +477,9 @@ static void tsdev_disconnect(struct input_handle *handle) | |||
477 | 477 | ||
478 | if (tsdev->open) { | 478 | if (tsdev->open) { |
479 | input_close_device(handle); | 479 | input_close_device(handle); |
480 | wake_up_interruptible(&tsdev->wait); | ||
481 | list_for_each_entry(client, &tsdev->client_list, node) | 480 | list_for_each_entry(client, &tsdev->client_list, node) |
482 | kill_fasync(&client->fasync, SIGIO, POLL_HUP); | 481 | kill_fasync(&client->fasync, SIGIO, POLL_HUP); |
482 | wake_up_interruptible(&tsdev->wait); | ||
483 | } else | 483 | } else |
484 | tsdev_free(tsdev); | 484 | tsdev_free(tsdev); |
485 | } | 485 | } |