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 adding xhci state check in xhci_handshake() API which bails out the polling upon XHCI removal. Change-Id: I2d4c4654cb8909a3a71002870f1f5946d60f7d8f Signed-off-by:Hemant Kumar <hemantk@codeaurora.org> Signed-off-by:
Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Loading
Please register or sign in to comment