Commit 9163d53c authored by Felipe Balbi's avatar Felipe Balbi Committed by Kamal Mostafa

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 avatarKamal Mostafa <kamal@canonical.com>
parent 77b266a2
...@@ -1260,7 +1260,7 @@ sl811h_hub_control( ...@@ -1260,7 +1260,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