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:
97e4638
)
usb: dwc2: Remove redundant reset in probe
author
John Youn
<John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:18:27 +0000
(11:18 -0800)
committer
Felipe Balbi
<balbi@ti.com>
Tue, 22 Dec 2015 18:02:34 +0000
(12:02 -0600)
Reset already happens before this so just force the dr_mode.
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/platform.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc2/platform.c
b/drivers/usb/dwc2/platform.c
index bfa4a6a8a1f343efaaaa9a761a0c4065d7359946..1e7cb99d210080a312557fed0a9b1beba635f568 100644
(file)
--- a/
drivers/usb/dwc2/platform.c
+++ b/
drivers/usb/dwc2/platform.c
@@
-520,7
+520,7
@@
static int dwc2_driver_probe(struct platform_device *dev)
/* Validate parameter values */
dwc2_set_parameters(hsotg, params);
- dwc2_
core_reset_and_
force_dr_mode(hsotg);
+ dwc2_force_dr_mode(hsotg);
if (hsotg->dr_mode != USB_DR_MODE_HOST) {
retval = dwc2_gadget_init(hsotg, irq);