Commit 47e82783 authored by Felipe Balbi's avatar Felipe Balbi Committed by Sasha Levin

usb: host: sl811: use new USB_RESUME_TIMEOUT

[ Upstream commit 08debfb1 ]

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>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent 4062a4ea
...@@ -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