]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 5 Jul 2010 18:11:06 +0000 (11:11 -0700)
commitd9c1ee1895d3d6266656527c729e5278904a3e36
tree2834186b4e489ab022c99075316dab3179ef6fab
parent87d3fd19311ae9575b1f14d054e34f4598e2d106
USB: xhci: Wait for host to start running.

commit ed07453fd356025cc25272629e982f5e4607632c upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/xhci-hcd.c