Commit 7e136bb7 authored by Felipe Balbi's avatar Felipe Balbi

usb: host: fotg210: 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+
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 8c0ae657
...@@ -1595,7 +1595,7 @@ static int fotg210_hub_control( ...@@ -1595,7 +1595,7 @@ static int fotg210_hub_control(
/* resume signaling for 20 msec */ /* resume signaling for 20 msec */
fotg210_writel(fotg210, temp | PORT_RESUME, status_reg); fotg210_writel(fotg210, temp | PORT_RESUME, status_reg);
fotg210->reset_done[wIndex] = jiffies fotg210->reset_done[wIndex] = jiffies
+ msecs_to_jiffies(20); + msecs_to_jiffies(USB_RESUME_TIMEOUT);
break; break;
case USB_PORT_FEAT_C_SUSPEND: case USB_PORT_FEAT_C_SUSPEND:
clear_bit(wIndex, &fotg210->port_c_suspend); clear_bit(wIndex, &fotg210->port_c_suspend);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment