Searched hist:eb055fd0560b9835e9e1a956aa6a83c51a735801 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/hid/usbhid/ |
H A D | hid-core.c | diff eb055fd0560b9835e9e1a956aa6a83c51a735801 Thu Jul 19 15:09:01 CDT 2012 Alan Stern <stern@rowland.harvard.edu> HID: usbhid: fix error paths in suspend
This patch (as1597) fixes some of the error paths in usbhid's suspend routine. The driver was not careful to restart everything that might have been stopped, in cases where a suspend failed.
For example, once the HID_SUSPENDED flag is set, an output report submission would not restart the corresponding URB queue. If a suspend fails, it's therefore necessary to check whether the queues need to be restarted.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu> CC: Oliver Neukum <oliver@neukum.org> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|