aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/xhci-pci.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2011-06-15 16:27:43 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-06-15 17:44:56 -0700
commit0af212ba8f123c2eba151af7726c34a50b127962 (patch)
treef9b37cad57b00c6e845954f361acedead9863d13 /drivers/usb/host/xhci-pci.c
parentUSB: don't let the hub driver prevent system sleep (diff)
downloadlinux-dev-0af212ba8f123c2eba151af7726c34a50b127962.tar.xz
linux-dev-0af212ba8f123c2eba151af7726c34a50b127962.zip
USB: don't let errors prevent system sleep
This patch (as1464) implements the recommended policy that most errors during suspend or hibernation should not prevent the system from going to sleep. In particular, failure to suspend a USB driver or a USB device should not prevent the sleep from succeeding: Failure to suspend a device won't matter, because the device will automatically go into suspend mode when the USB bus stops carrying packets. (This might be less true for USB-3.0 devices, but let's not worry about them now.) Failure of a driver to suspend might lead to trouble later on when the system wakes up, but it isn't sufficient reason to prevent the system from going to sleep. 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 'drivers/usb/host/xhci-pci.c')
0 files changed, 0 insertions, 0 deletions