diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2011-06-15 16:29:16 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-06-15 17:44:56 -0700 |
commit | cbb330045e5df8f665ac60227ff898421fc8fb92 (patch) | |
tree | 905598ff170b0fde21c72ad7edde2674ac5fdad1 /lib/random32.c | |
parent | 578333ab95f70db13951d30a9ad6b565b61639a9 (diff) | |
download | blackbird-op-linux-cbb330045e5df8f665ac60227ff898421fc8fb92.tar.gz blackbird-op-linux-cbb330045e5df8f665ac60227ff898421fc8fb92.zip |
USB: don't let the hub driver prevent system sleep
This patch (as1465) continues implementation of the policy that errors
during suspend or hibernation should not prevent the system from going
to sleep.
In this case, failure to turn on the Suspend feature for a hub port
shouldn't be reported as an error. There are situations where this
does actually occur (such as when the device plugged into that port
was disconnected in the recent past), and it turns out to be harmless.
There's no reason for it to prevent a system sleep.
Also, don't allow the hub driver to fail a system suspend if the
downstream ports aren't all suspended. This is also harmless (and
should never happen, given the change mentioned above); printing a
warning message in the kernel log is all we really need to do.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions