USB: xhci: Wait for controller to be ready after reset.
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 24 May 2010 20:25:15 +0000 (13:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 4 Jun 2010 20:16:18 +0000 (13:16 -0700)
commit2d62f3eea98354d61f90d6b115eecf9be5f4bdfe
treebd42be1731bab339ad0376fb389f9dc5a64f04ac
parent0c8a32dff4f9ebed3e067e52e12842d7d7e047a0
USB: xhci: Wait for controller to be ready after reset.

After software resets an xHCI host controller, it must wait for the
"Controller Not Ready" (CNR) bit in the status register to be cleared.
Software is not supposed to ring any doorbells or write to any registers
except the status register until this bit is cleared.

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