diff options
Diffstat (limited to 'drivers/input/evdev.c')
-rw-r--r-- | drivers/input/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/evdev.c b/drivers/input/evdev.c index a4c3729d3960..93b407cd4600 100644 --- a/drivers/input/evdev.c +++ b/drivers/input/evdev.c | |||
@@ -700,9 +700,9 @@ static void evdev_disconnect(struct input_handle *handle) | |||
700 | if (evdev->open) { | 700 | if (evdev->open) { |
701 | input_flush_device(handle, NULL); | 701 | input_flush_device(handle, NULL); |
702 | input_close_device(handle); | 702 | input_close_device(handle); |
703 | wake_up_interruptible(&evdev->wait); | ||
704 | list_for_each_entry(client, &evdev->client_list, node) | 703 | list_for_each_entry(client, &evdev->client_list, node) |
705 | kill_fasync(&client->fasync, SIGIO, POLL_HUP); | 704 | kill_fasync(&client->fasync, SIGIO, POLL_HUP); |
705 | wake_up_interruptible(&evdev->wait); | ||
706 | } else | 706 | } else |
707 | evdev_free(evdev); | 707 | evdev_free(evdev); |
708 | } | 708 | } |