Commit 6117f18c authored by Felipe Balbi's avatar Felipe Balbi Committed by Luis Henriques

usb: isp1760: hcd: use new USB_RESUME_TIMEOUT

commit 59c9904c 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>
[ luis: backported to 3.16:
  - file rename: drivers/usb/isp1760/isp1760-hcd.c ->
    drivers/usb/host/isp1760-hcd.c ]
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent b280f9ec
...@@ -1895,7 +1895,7 @@ static int isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq, ...@@ -1895,7 +1895,7 @@ static int isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq,
reg_write32(hcd->regs, HC_PORTSC1, reg_write32(hcd->regs, HC_PORTSC1,
temp | PORT_RESUME); temp | PORT_RESUME);
priv->reset_done = jiffies + priv->reset_done = 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:
......
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