mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
usb: xhci: Increase xhci halt timeout
Currently, certain controllers with lower core clock rates, takes more than 32ms to set the halted bit. This results in XHCI halt timeout. Fix this by increasing the timeout to 48ms. Change-Id: I2f2715a11a947e01303c659e257ef0cabb311cac Signed-off-by: Harsh Agarwal <harshq@codeaurora.org>
This commit is contained in:
parent
b22b60a089
commit
430a8df3f9
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ int xhci_halt(struct xhci_hcd *xhci)
|
|||
xhci_quiesce(xhci);
|
||||
|
||||
ret = xhci_handshake(&xhci->op_regs->status,
|
||||
STS_HALT, STS_HALT, 2 * XHCI_MAX_HALT_USEC);
|
||||
STS_HALT, STS_HALT, 3 * XHCI_MAX_HALT_USEC);
|
||||
if (ret) {
|
||||
xhci_warn(xhci, "Host halt failed, %d\n", ret);
|
||||
return ret;
|
||||
|
|
|
|||
Loading…
Reference in a new issue