usb: XHCI: Bailout command abort operation upon XHCI remove
As part of Command timeout handling command abort operation
is performed. This requires to poll for command ring status
for 5 second and a re-try for another 3 second. In case of
XHCI removal this can cause watch dog timeout because polling
is done with spin lock held. Fix this issue by calling
xhci_handshake_check_state() API which bails out the polling
upon XHCI removal.
Change-Id: I2d4c4654cb8909a3a71002870f1f5946d60f7d8f
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
1 file changed