usb: dwc2: remove double call to dwc2_hsotg_of_probe
authorMarek Szyprowski <m.szyprowski@samsung.com>
Mon, 21 Sep 2015 10:16:09 +0000 (12:16 +0200)
committerFelipe Balbi <balbi@ti.com>
Thu, 1 Oct 2015 17:40:28 +0000 (12:40 -0500)
This patch removes doubled call to dwc2_hsotg_of_probe() function.

Tested-by: John Youn <johnyoun@synopsys.com>
Acked-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c

index 6dc64e9d05f9937419d7091fed93e23d3dee2645..7afd04cf64b1cf1a0454e1d5b7d8f533f5fac8a6 100644 (file)
@@ -3572,8 +3572,6 @@ int dwc2_gadget_init(struct dwc2_hsotg *hsotg, int irq)
        /* Set default UTMI width */
        hsotg->phyif = GUSBCFG_PHYIF16;
 
-       dwc2_hsotg_of_probe(hsotg);
-
        /* Initialize to legacy fifo configuration values */
        hsotg->g_rx_fifo_sz = 2048;
        hsotg->g_np_g_tx_fifo_sz = 1024;