diff mbox

[v3,1/4] usb: dwc2: remove double call to dwc2_hsotg_of_probe

Message ID 1442830572-6765-2-git-send-email-m.szyprowski@samsung.com
State Accepted
Commit 19dadca58a16741b2eeb1c31021b577ffb4b88ee
Headers show

Commit Message

Marek Szyprowski Sept. 21, 2015, 10:16 a.m. UTC
This patch removes doubled call to dwc2_hsotg_of_probe() function.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
---
 drivers/usb/dwc2/gadget.c | 2 --
 1 file changed, 2 deletions(-)
diff mbox

Patch

diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c
index ddd14a7..410ea6e 100644
--- a/drivers/usb/dwc2/gadget.c
+++ b/drivers/usb/dwc2/gadget.c
@@ -3488,8 +3488,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;