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

Commit b9e45188 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: host: xhci: use new USB_RESUME_TIMEOUT



Make sure we're using the new macro, so our
resume signaling will always pass certification.

Cc: <stable@vger.kernel.org> # v3.10+
Acked-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 62f0342d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1574,7 +1574,7 @@ static void handle_port_status(struct xhci_hcd *xhci,
		} else {
			xhci_dbg(xhci, "resume HS port %d\n", port_id);
			bus_state->resume_done[faked_port_index] = jiffies +
				msecs_to_jiffies(20);
				msecs_to_jiffies(USB_RESUME_TIMEOUT);
			set_bit(faked_port_index, &bus_state->resuming_ports);
			mod_timer(&hcd->rh_timer,
				  bus_state->resume_done[faked_port_index]);