Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c423eab authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: xhci: Reduce command reset handshake timeout"

parents 5e910ecb bba2a1f6
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -226,7 +226,7 @@ int xhci_reset(struct xhci_hcd *xhci)
		udelay(1000);

	ret = xhci_handshake_check_state(xhci, &xhci->op_regs->command,
			CMD_RESET, 0, 10 * 1000 * 1000);
			CMD_RESET, 0, 1000 * 1000);
	if (ret)
		return ret;

@@ -240,7 +240,7 @@ int xhci_reset(struct xhci_hcd *xhci)
	 * than status until the "Controller Not Ready" flag is cleared.
	 */
	ret = xhci_handshake(&xhci->op_regs->status,
			STS_CNR, 0, 10 * 1000 * 1000);
			STS_CNR, 0, 1000 * 1000);

	for (i = 0; i < 2; i++) {
		xhci->bus_state[i].port_c_suspend = 0;