]> 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:16:03 +0000 (11:16 -0700)
commitd85a9e8941454235ea82bb6c4f8aafd500e1e6ec
tree1e67de21ff1d0b50561ed2637ff7ff762b989155
parentc9aa072037b4d6e5831bbf930bc934ec1dcbd2dd
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