]> git.karo-electronics.de Git - karo-tx-linux.git/commit
USB: don't enable remote wakeup by default
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 2 Apr 2010 17:21:33 +0000 (13:21 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:29:58 +0000 (10:29 -0700)
commitc226e63e40f2d3caa0ecd056c35c2e17332eac68
treef7a2cb9abfe572de766b504ef314068a0887c92f
parent97f31b3e803a18e75e4f6e5d0beeda3b6e7a9732
USB: don't enable remote wakeup by default

commit 7aba8d014341341590ecb64050b7a026642a62eb upstream.

This patch (as1364) avoids enabling remote wakeup by default on all
non-root-hub USB devices.  Individual drivers or userspace will have
to enable it wherever it is needed, such as for keyboards or network
interfaces.  Note: This affects only system sleep, not autosuspend.

External hubs will continue to relay wakeup requests received from
downstream through their upstream port, even when remote wakeup is not
enabled for the hub itself.  Disabling remote wakeup on a hub merely
prevents it from generating wakeup requests in response to connect,
disconnect, and overcurrent events.

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