usb: dwc2: gadget: Remove call to dwc2_hsotg_init()
authorJohn Youn <John.Youn@synopsys.com>
Thu, 17 Dec 2015 19:18:41 +0000 (11:18 -0800)
committerFelipe Balbi <balbi@ti.com>
Tue, 22 Dec 2015 18:02:44 +0000 (12:02 -0600)
commit60c0288c72c980fb37ed4e48f68c9743a53b662c
tree47e8a248e77ad0c6b9f97f0f4ac2ddfefdffc975
parent25362d318371e1e271dda24995ceabb8457b3b7c
usb: dwc2: gadget: Remove call to dwc2_hsotg_init()

Remove call to dwc2_hsotg_init() from dwc2_gadget_init(). The
gadget_init function should not access any device registers because the
mode isn't guaranteed here.

Also, this is already called elsewhere before anything starts on the
gadget so it is not necessary here.

Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc2/gadget.c
This page took 0.037905 seconds and 5 git commands to generate.