projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
08debfb
)
usb: dwc2: hcd: use new USB_RESUME_TIMEOUT
author
Felipe Balbi
<balbi@ti.com>
Fri, 13 Feb 2015 21:03:13 +0000
(15:03 -0600)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 7 Apr 2015 17:58:36 +0000
(12:58 -0500)
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>
drivers/usb/dwc2/hcd.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc2/hcd.c
b/drivers/usb/dwc2/hcd.c
index
559b55e
..
545e094
100644
(file)
--- a/
drivers/usb/dwc2/hcd.c
+++ b/
drivers/usb/dwc2/hcd.c
@@
-1529,7
+1529,7
@@
static int dwc2_hcd_hub_control(struct dwc2_hsotg *hsotg, u16 typereq,
dev_dbg(hsotg->dev,
"ClearPortFeature USB_PORT_FEAT_SUSPEND\n");
writel(0, hsotg->regs + PCGCTL);
-
usleep_range(20000, 40000
);
+
msleep(USB_RESUME_TIMEOUT
);
hprt0 = dwc2_read_hprt0(hsotg);
hprt0 |= HPRT0_RES;