diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2012-07-19 16:09:01 -0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2012-07-20 11:24:25 +0200 |
commit | eb055fd0560b9835e9e1a956aa6a83c51a735801 (patch) | |
tree | 172b9b1d4b88354d0349d12f0ef8c89628901c57 /drivers/net/ethernet/mellanox | |
parent | d4150c8f3d80b4a9387083478a86da8b3390dd83 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/mellanox')
0 files changed, 0 insertions, 0 deletions