usb: dwc2: Remove redundant reset in probe
authorJohn Youn <John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:18:27 +0000 (11:18 -0800)
committerFelipe 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

index bfa4a6a8a1f343efaaaa9a761a0c4065d7359946..1e7cb99d210080a312557fed0a9b1beba635f568 100644 (file)
@@ -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);