diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-07-30 23:39:02 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-08-01 04:29:03 +0400 |
commit | 4fae6f0fa86f92e6bc7429371b1e177ad0aaac66 (patch) | |
tree | 1599430fb103e3c108c8db19860b5c9055ee976e /drivers/power/ds2760_battery.c | |
parent | 28e861658e23ca94692f98e245d254c75c8088a7 (diff) | |
download | linux-4fae6f0fa86f92e6bc7429371b1e177ad0aaac66.tar.xz |
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/power/ds2760_battery.c')
0 files changed, 0 insertions, 0 deletions