USB: xhci: Wait for host to start running.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 24 May 2010 20:25:21 +0000 (13:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:16:19 +0000 (13:16 -0700)
commited07453fd356025cc25272629e982f5e4607632c
treec3c08950b4f98c10e67c7b317b1233e755f53f6c
parent2d62f3eea98354d61f90d6b115eecf9be5f4bdfe
USB: xhci: Wait for host to start running.

When the run bit is set in the xHCI command register, it may take a few
microseconds for the host to start running.  We cannot ring any doorbells
until the host is actually running, so wait until the status register says
the host is running.

Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-by: Shinya Saito <shinya.saito.sx@renesas.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci.c