summaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-02-13 22:04:06 +0100
committerFelipe Balbi <balbi@ti.com>2015-04-07 19:58:36 +0200
commit59c9904cce77b55892e15f40791f1e66e4d3a1e6 (patch)
treefd60b9339aca90083bbb5057b14394f632b1c016 /drivers/usb
parentusb: dwc2: hcd: use new USB_RESUME_TIMEOUT (diff)
downloadlinux-59c9904cce77b55892e15f40791f1e66e4d3a1e6.tar.xz
linux-59c9904cce77b55892e15f40791f1e66e4d3a1e6.zip
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: <stable@vger.kernel.org> # v3.10+ Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/isp1760/isp1760-hcd.c2
1 files changed, 1 insertions, 1 deletions
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: