|
@@ -888,7 +888,7 @@ int xhci_suspend(struct xhci_hcd *xhci)
|
|
|
command &= ~CMD_RUN;
|
|
|
xhci_writel(xhci, command, &xhci->op_regs->command);
|
|
|
if (handshake(xhci, &xhci->op_regs->status,
|
|
|
- STS_HALT, STS_HALT, 100*100)) {
|
|
|
+ STS_HALT, STS_HALT, XHCI_MAX_HALT_USEC)) {
|
|
|
xhci_warn(xhci, "WARN: xHC CMD_RUN timeout\n");
|
|
|
spin_unlock_irq(&xhci->lock);
|
|
|
return -ETIMEDOUT;
|