EHCI: turn off remote wakeup during shutdown
commit8903795a5275e0366acf961190c57074ad27f9bb
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 13 Feb 2007 19:55:27 +0000 (13 14:55 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:17 +0000 (16 15:32 -0800)
tree0ce4fa68f64ab0bcb2b6985f06d8badee62894ca
parent8a03d9a498eaf02c8a118752050a5154852c13bf
EHCI: turn off remote wakeup during shutdown

This patch (as850b) disables remote wakeup (and everything else!) on
all EHCI ports when the shutdown() method is called.  If remote wakeup
is left active then some systems will reboot instead of powering off.
This fixes Bugzilla #7828.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c