summaryrefslogtreecommitdiffstats
path: root/lib/random32.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-04-02 13:20:11 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-22 15:18:27 -0700
commit5f677f1d45b2bf08085bbba7394392dfa586fa8e (patch)
tree0eeec0555c343b11adaee5f9f418f58a083c6273 /lib/random32.c
parent9a61d72602771906e11a5944e8571f8006387b39 (diff)
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 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions