From: Felipe Balbi Date: Fri, 13 Feb 2015 21:04:06 +0000 (-0600) Subject: usb: isp1760: hcd: use new USB_RESUME_TIMEOUT X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=59c9904cce77b55892e15f40791f1e66e4d3a1e6;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git usb: isp1760: hcd: use new USB_RESUME_TIMEOUT Make sure we're using the new macro, so our resume signaling will always pass certification. Cc: # v3.10+ Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/isp1760/isp1760-hcd.c b/drivers/usb/isp1760/isp1760-hcd.c index 3cb98b1d5d29..7911b6b6fe40 100644 --- a/drivers/usb/isp1760/isp1760-hcd.c +++ b/drivers/usb/isp1760/isp1760-hcd.c @@ -1869,7 +1869,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: