]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Update USB default wakeup settings
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 26 Sep 2011 15:23:38 +0000 (11:23 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Sep 2011 22:54:11 +0000 (15:54 -0700)
commitf16bf96836ca48596d1231b61b2544c9ab897d88
tree50780f1667972bd1e31974a10bb3b31c6852d133
parent4c6b4edc37999d4cfb3f0315699bae27c8f5629b
USB: Update USB default wakeup settings

This patch (as1486) implements the kernel's new wakeup policy for USB
host controllers.  Since they don't generate wakeup requests on their
but merely forward requests from their root hubs toward the CPU, they
should be enabled for wakeup by default.

Also, to be compliant with both the old and new policies, root hubs
should not be enabled for remote wakeup by default.  Userspace must
enable it explicitly if it is desired.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/hcd.c