Reset already happens before this so just force the dr_mode.
Change-Id: I308ef9ea795ba654aca98af67ee1ecaba415397f
Signed-off-by: John Youn <johnyoun@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit
25362d318371e1e271dda24995ceabb8457b3b7c)
/* 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);