summaryrefslogtreecommitdiffstats
path: root/drivers/usb/atm
diff options
context:
space:
mode:
authorAlan Stern2008-04-22 16:49:15 +0200
committerGreg Kroah-Hartman2008-05-02 19:25:57 +0200
commitd8f12ab5d984761726e638a4222299a9fc516233 (patch)
treecaa034c93caa7f63f63e11e5634c847a48b2686f /drivers/usb/atm
parentUSB: OHCI: work around bogus compiler warning (diff)
downloadkernel-qcow2-linux-d8f12ab5d984761726e638a4222299a9fc516233.tar.gz
kernel-qcow2-linux-d8f12ab5d984761726e638a4222299a9fc516233.tar.xz
kernel-qcow2-linux-d8f12ab5d984761726e638a4222299a9fc516233.zip
USB: UHCI: disable remote wakeup when it's not needed
This patch (as1084b) fixes the way uhci-hcd handles polling and remote wakeups for its root hubs. When remote wakeup is disabled, neither interrupts nor polling should be enabled during a root-hub suspend. Likewise, if interrupts are enabled during suspend then polling isn't needed. Furthermore the EGSM (Enter Global Suspend Mode) bit shouldn't be set in the Command register unless remote wakeup is enabled. Apparently some controllers will issue a remote-wakeup interrupt whenever EGSM is on, even if Resume-Detect interrupts are supposedly disabled. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/atm')
0 files changed, 0 insertions, 0 deletions