]> git.kernelconcepts.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, 9 May 2011 22:55:10 +0000 (15:55 -0700)
commit5e35287b2bfc877558acc9ad67aca7ace01021e8
treeb61aa0d57b14cc8ba4ba379fc5ed625b5ca1ba25
parenta30ded70e8160aa6dc8d0c1d4c9dacc47a38fee3
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