diff options
author | Felipe Balbi <balbi@ti.com> | 2015-02-13 15:39:13 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-04-07 13:58:35 -0400 |
commit | b9e451885deb6262dbaf5cd14aa77d192d9ac759 (patch) | |
tree | c32f33b4b1bbd367906777c917ecd24e9d6c28a7 | |
parent | 62f0342de1f012f3e90607d39e20fce811391169 (diff) |
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>
-rw-r--r-- | drivers/usb/host/xhci-ring.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/host/xhci-ring.c b/drivers/usb/host/xhci-ring.c index 5fb66db89e05..23304817a89a 100644 --- a/drivers/usb/host/xhci-ring.c +++ b/drivers/usb/host/xhci-ring.c | |||
@@ -1574,7 +1574,7 @@ static void handle_port_status(struct xhci_hcd *xhci, | |||
1574 | } else { | 1574 | } else { |
1575 | xhci_dbg(xhci, "resume HS port %d\n", port_id); | 1575 | xhci_dbg(xhci, "resume HS port %d\n", port_id); |
1576 | bus_state->resume_done[faked_port_index] = jiffies + | 1576 | bus_state->resume_done[faked_port_index] = jiffies + |
1577 | msecs_to_jiffies(20); | 1577 | msecs_to_jiffies(USB_RESUME_TIMEOUT); |
1578 | set_bit(faked_port_index, &bus_state->resuming_ports); | 1578 | set_bit(faked_port_index, &bus_state->resuming_ports); |
1579 | mod_timer(&hcd->rh_timer, | 1579 | mod_timer(&hcd->rh_timer, |
1580 | bus_state->resume_done[faked_port_index]); | 1580 | bus_state->resume_done[faked_port_index]); |