From: Felipe Balbi Date: Fri, 13 Feb 2015 21:04:06 +0000 (-0600) Subject: usb: isp1760: hcd: use new USB_RESUME_TIMEOUT X-Git-Tag: v3.16.35~2230 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6117f18c8b41ac09dc988771589bac8798e92752;p=thirdparty%2Fkernel%2Fstable.git usb: isp1760: hcd: use new USB_RESUME_TIMEOUT commit 59c9904cce77b55892e15f40791f1e66e4d3a1e6 upstream. Make sure we're using the new macro, so our resume signaling will always pass certification. Signed-off-by: Felipe Balbi [ luis: backported to 3.16: - file rename: drivers/usb/isp1760/isp1760-hcd.c -> drivers/usb/host/isp1760-hcd.c ] Signed-off-by: Luis Henriques --- diff --git a/drivers/usb/host/isp1760-hcd.c b/drivers/usb/host/isp1760-hcd.c index 5ea7c6bdfd28b..6295b353bb656 100644 --- a/drivers/usb/host/isp1760-hcd.c +++ b/drivers/usb/host/isp1760-hcd.c @@ -1895,7 +1895,7 @@ static int isp1760_hub_control(struct usb_hcd *hcd, u16 typeReq, reg_write32(hcd->regs, HC_PORTSC1, temp | PORT_RESUME); priv->reset_done = jiffies + - msecs_to_jiffies(20); + msecs_to_jiffies(USB_RESUME_TIMEOUT); } break; case USB_PORT_FEAT_C_SUSPEND: