Commit d3d8f2c3 authored by Felipe Balbi's avatar Felipe Balbi Committed by Greg Kroah-Hartman

usb: host: fotg210: use new USB_RESUME_TIMEOUT

commit 7e136bb7 upstream.

Make sure we're using the new macro, so our
resume signaling will always pass certification.
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 04b7e335
...@@ -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