diff options
author | Oliver Neukum <oliver@neukum.org> | 2009-10-19 13:19:41 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-12-11 11:55:17 -0800 |
commit | 0c487206fe925ef370e1fc092003efb74ad57410 (patch) | |
tree | d01c998a7f54fed5d3cfb8ab4cdb1e9284cd1583 /drivers/usb/gadget | |
parent | 54ab2b02ef6a454b4cca969f546d0dd43fec7308 (diff) |
USB: improved error handling in usb_port_suspend()
usb: better error handling in usb_port_suspend
- disable remote wakeup only if it was enabled
- refuse to autosuspend if remote wakeup fails to be enabled
Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget')
0 files changed, 0 insertions, 0 deletions