summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2
diff options
context:
space:
mode:
authorJohn Youn <John.Youn@synopsys.com>2015-12-17 11:18:27 -0800
committerFelipe Balbi <balbi@ti.com>2015-12-22 12:02:34 -0600
commit25362d318371e1e271dda24995ceabb8457b3b7c (patch)
tree349f9caa4a36bbae9ea241c17e389559c5e2b623 /drivers/usb/dwc2
parent97e463886b873f62bea2293e7edf81fdb884b84f (diff)
downloadblackbird-op-linux-25362d318371e1e271dda24995ceabb8457b3b7c.tar.gz
blackbird-op-linux-25362d318371e1e271dda24995ceabb8457b3b7c.zip
usb: dwc2: Remove redundant reset in probe
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>
Diffstat (limited to 'drivers/usb/dwc2')
-rw-r--r--drivers/usb/dwc2/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/platform.c b/drivers/usb/dwc2/platform.c
index bfa4a6a8a1f3..1e7cb99d2100 100644
--- 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);
OpenPOWER on IntegriCloud