projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c89cce
)
usb: dwc3: cache hwparams earlier
author
Heikki Krogerus
<
[email protected]
>
Wed, 13 May 2015 12:26:46 +0000
(15:26 +0300)
committer
Felipe Balbi
<
[email protected]
>
Wed, 13 May 2015 17:06:00 +0000
(12:06 -0500)
So they are available when ULPI interface support is added.
Signed-off-by: Heikki Krogerus <
[email protected]
>
Acked-by: David Cohen <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
drivers/usb/dwc3/core.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/core.c
b/drivers/usb/dwc3/core.c
index c7734edd40f8d425c1610a22793be13fcc411801..104b236425484b2375cacb6159b1a7b697529319 100644
(file)
--- a/
drivers/usb/dwc3/core.c
+++ b/
drivers/usb/dwc3/core.c
@@
-876,6
+876,7
@@
static int dwc3_probe(struct platform_device *pdev)
| (dwc->is_utmi_l1_suspend << 4);
platform_set_drvdata(pdev, dwc);
+ dwc3_cache_hwparams(dwc);
ret = dwc3_core_get_phy(dwc);
if (ret)
@@
-893,8
+894,6
@@
static int dwc3_probe(struct platform_device *pdev)
pm_runtime_get_sync(dev);
pm_runtime_forbid(dev);
- dwc3_cache_hwparams(dwc);
-
ret = dwc3_alloc_event_buffers(dwc, DWC3_EVENT_BUFFERS_SIZE);
if (ret) {
dev_err(dwc->dev, "failed to allocate event buffers\n");