]> err.no Git - linux-2.6/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>
Sat, 10 Mar 2007 03:52:23 +0000 (19:52 -0800)
commit88018158d1253ab4868a2f9204cc390c711fd9b9
treec624f1166911a7ecb4911fb69a2ef53cfaf242e3
parent97b9eb91dc131a10342da1f604e5bd8b1316abdb
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