]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
UHCI: fix port resume problem
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 26 Feb 2007 22:16:06 +0000 (17:16 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Mar 2007 18:50:21 +0000 (10:50 -0800)
commit07c9ab037422089d2b8baf5c14734fe2105b6629
treeda9fbcd108afdd13b2e0bff623ba85fb22f9c52f
parentc5f165355bdf4b813f164a64ca09f7d92ba6b20b
UHCI: fix port resume problem

This patch (as863) fixes a problem encountered sometimes when resuming
a port on a UHCI controller.  The hardware may turn off the
Resume-Detect bit before turning off the Suspend bit, leading usbcore
to think that the port is still suspended and the resume has failed.
The patch makes uhci_finish_suspend() wait until both bits are safely
off.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-hub.c