HID: hiddev: fix error path in hiddev_read when interrupted
authorPeter Waechtler <pwaechtler@mac.com>
Thu, 28 Apr 2011 18:53:58 +0000 (20:53 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 29 Apr 2011 11:53:53 +0000 (13:53 +0200)
commit06268b2a384ece73618c1ad7649d19905ab79806
treeda225fd98a899a22959d78ffd80a86d8009ed3dd
parent35dca5b4a67a93bbb75c2753d6dc432dc8f82e5d
HID: hiddev: fix error path in hiddev_read when interrupted

hiddev_read: in case mutex_lock_interruptible will be interrupted
remove the task from the wait queue.

Signed-off-by: Peter Waechtler <pwaechtler@mac.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/usbhid/hiddev.c