USB: xhci: Wait for controller to be ready after reset.
commit2e6aac905807a7f440c15e03e6c88fa4922d849e
authorSarah Sharp <sarah.a.sharp@linux.intel.com>
Mon, 24 May 2010 20:25:15 +0000 (24 13:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Jul 2010 18:22:48 +0000 (5 11:22 -0700)
treeddd3632114ea5c3d6599167c2c6b7c1eaa8dcd60
parentcf86414c11c5654ce50a5b476ce00fb4b6db46d4
USB: xhci: Wait for controller to be ready after reset.

commit 2d62f3eea98354d61f90d6b115eecf9be5f4bdfe upstream.

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