diff options
-rw-r--r-- | drivers/usb/host/xhci.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 16ec4d3890b..fd1421ff0b4 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c | |||
@@ -163,7 +163,7 @@ int xhci_reset(struct xhci_hcd *xhci) | |||
163 | xhci_writel(xhci, command, &xhci->op_regs->command); | 163 | xhci_writel(xhci, command, &xhci->op_regs->command); |
164 | 164 | ||
165 | ret = handshake(xhci, &xhci->op_regs->command, | 165 | ret = handshake(xhci, &xhci->op_regs->command, |
166 | CMD_RESET, 0, 250 * 1000); | 166 | CMD_RESET, 0, 10 * 1000 * 1000); |
167 | if (ret) | 167 | if (ret) |
168 | return ret; | 168 | return ret; |
169 | 169 | ||
@@ -172,7 +172,8 @@ int xhci_reset(struct xhci_hcd *xhci) | |||
172 | * xHCI cannot write to any doorbells or operational registers other | 172 | * xHCI cannot write to any doorbells or operational registers other |
173 | * than status until the "Controller Not Ready" flag is cleared. | 173 | * than status until the "Controller Not Ready" flag is cleared. |
174 | */ | 174 | */ |
175 | return handshake(xhci, &xhci->op_regs->status, STS_CNR, 0, 250 * 1000); | 175 | return handshake(xhci, &xhci->op_regs->status, |
176 | STS_CNR, 0, 10 * 1000 * 1000); | ||
176 | } | 177 | } |
177 | 178 | ||
178 | /* | 179 | /* |