summaryrefslogtreecommitdiffstats
path: root/drivers/usb/host/uhci-hub.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2010-01-08 17:18:20 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-21 00:24:34 +0100
commitcec3a53c7fe794237b582e8e77fc0e48465e65ee (patch)
treebc73dbdef0688d6c656d04f288e736cb9b60d9b9 /drivers/usb/host/uhci-hub.c
parentUSB: EHCI: fix handling of unusual interrupt intervals (diff)
downloadlinux-cec3a53c7fe794237b582e8e77fc0e48465e65ee.tar.xz
linux-cec3a53c7fe794237b582e8e77fc0e48465e65ee.zip
USB: EHCI & UHCI: fix race between root-hub suspend and port resume
This patch (as1321) fixes a problem with EHCI and UHCI root-hub suspends: If the suspend occurs while a port is trying to resume, the resume doesn't finish and simply gets lost. When remote wakeup is enabled, this is undesirable behavior. The patch checks first to see if any port resumes are in progress, and if they are then it fails the root-hub suspend with -EBUSY. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Cc: stable <stable@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/uhci-hub.c')
0 files changed, 0 insertions, 0 deletions