diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-07-30 21:39:02 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-01 02:29:03 +0200 |
commit | 4fae6f0fa86f92e6bc7429371b1e177ad0aaac66 (patch) | |
tree | 1599430fb103e3c108c8db19860b5c9055ee976e /drivers/usb/host/ohci-platform.c | |
parent | USB: refactor code for enabling/disabling remote wakeup (diff) | |
download | linux-4fae6f0fa86f92e6bc7429371b1e177ad0aaac66.tar.xz linux-4fae6f0fa86f92e6bc7429371b1e177ad0aaac66.zip |
USB: handle LPM errors during device suspend correctly
The hub driver's usb_port_suspend() routine doesn't handle errors
related to Link Power Management properly. It always returns failure,
it doesn't try to clean up the wakeup setting, (in the case of system
sleep) it doesn't try to go ahead with the port suspend regardless,
and it doesn't try to apply the new power-off mechanism.
This patch fixes these problems.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Acked-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/ohci-platform.c')
0 files changed, 0 insertions, 0 deletions