summaryrefslogtreecommitdiff
path: root/drivers/usb/host/ehci-sched.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-04-02 17:20:11 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-22 22:18:27 (GMT)
commit5f677f1d45b2bf08085bbba7394392dfa586fa8e (patch)
tree0eeec0555c343b11adaee5f9f418f58a083c6273 /drivers/usb/host/ehci-sched.c
parent9a61d72602771906e11a5944e8571f8006387b39 (diff)
downloadlinux-5f677f1d45b2bf08085bbba7394392dfa586fa8e.tar.xz
USB: fix remote wakeup settings during system sleep
This patch (as1363) changes the way USB remote wakeup is handled during system sleeps. It won't be enabled unless an interface driver specifically needs it. Also, it won't be enabled during the FREEZE or QUIESCE phases of hibernation, when the system doesn't respond to wakeup events anyway. Finally, if the device is already runtime-suspended with remote wakeup enabled, but wakeup is supposed to be disabled for the system sleep, the device gets woken up so that it can be suspended again with the proper wakeup setting. This will fix problems people have reported with certain USB webcams that generate wakeup requests when they shouldn't, and as a result cause system suspends to fail. See https://bugs.launchpad.net/ubuntu/+source/linux/+bug/515109 Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Tested-by: Erik Andrén <erik.andren@gmail.com> CC: <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-sched.c')
0 files changed, 0 insertions, 0 deletions