USB: fix up EHCI startup synchronization
authorDavid Brownell <david-b@pacbell.net>
Wed, 14 Nov 2007 00:22:30 +0000 (16:22 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 28 Nov 2007 21:58:36 +0000 (13:58 -0800)
commit1cb52658b4f5b10a9e91f8e1c21ca2bcc1b9a3ca
tree9eff6108b82b903783ae66977a475219b03dfb2c
parent5cf1973a44bd298e3cfce6f6af8faa8c9d0a6d55
USB: fix up EHCI startup synchronization

A recent patch added software synchronization during EHCI startup,
so ports aren't switched away from the companion controllers after
resets have started.  This patch adds a short delay letting hardware
finish that port switching before any new resets begin ... so both
ends of that hardware race window are closed.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Dave Miller <davem@davemloft.net>
Cc: Dely Sy <dely.l.sy@intel.com>
Cc: stable <stable@kernel.org>
Cc: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ehci-hcd.c