From: Marek Szyprowski Date: Mon, 21 Sep 2015 10:16:09 +0000 (+0200) Subject: usb: dwc2: remove double call to dwc2_hsotg_of_probe X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=19dadca58a16741b2eeb1c31021b577ffb4b88ee;p=linux-beck.git usb: dwc2: remove double call to dwc2_hsotg_of_probe This patch removes doubled call to dwc2_hsotg_of_probe() function. Tested-by: John Youn Acked-by: John Youn Signed-off-by: Marek Szyprowski Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index 6dc64e9d05f9..7afd04cf64b1 100644 --- a/drivers/usb/dwc2/gadget.c +++ b/drivers/usb/dwc2/gadget.c @@ -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;