https://github.com/torvalds/linux
Revision cec3a53c7fe794237b582e8e77fc0e48465e65ee authored by Alan Stern on 08 January 2010, 16:18:20 UTC, committed by Greg Kroah-Hartman on 20 January 2010, 23:24:34 UTC
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>

1 parent 1b9a38b
History
Tip revision: cec3a53c7fe794237b582e8e77fc0e48465e65ee authored by Alan Stern on 08 January 2010, 16:18:20 UTC
USB: EHCI & UHCI: fix race between root-hub suspend and port resume
Tip revision: cec3a53
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 843 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 160.2 KB
Makefile -rw-r--r-- 52.0 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top