Commit 90d66e9e authored by Felipe Balbi's avatar Felipe Balbi Committed by Luis Henriques

usb: host: sl811: use new USB_RESUME_TIMEOUT

commit 08debfb1 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 avatarLuis Henriques <luis.henriques@canonical.com>
parent 47b37000
...@@ -1259,7 +1259,7 @@ sl811h_hub_control( ...@@ -1259,7 +1259,7 @@ sl811h_hub_control(
sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1); sl811_write(sl811, SL11H_CTLREG1, sl811->ctrl1);
mod_timer(&sl811->timer, jiffies mod_timer(&sl811->timer, jiffies
+ msecs_to_jiffies(20)); + msecs_to_jiffies(USB_RESUME_TIMEOUT));
break; break;
case USB_PORT_FEAT_POWER: case USB_PORT_FEAT_POWER:
port_power(sl811, 0); port_power(sl811, 0);
......
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