Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>

+1 -1
+1 -1
drivers/usb/host/xhci-ring.c
··· 1574 1574 } else { 1575 1575 xhci_dbg(xhci, "resume HS port %d\n", port_id); 1576 1576 bus_state->resume_done[faked_port_index] = jiffies + 1577 - msecs_to_jiffies(20); 1577 + msecs_to_jiffies(USB_RESUME_TIMEOUT); 1578 1578 set_bit(faked_port_index, &bus_state->resuming_ports); 1579 1579 mod_timer(&hcd->rh_timer, 1580 1580 bus_state->resume_done[faked_port_index]);