mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-19 13:11:14 +00:00
usb: dwc2: Remove redundant reset in probe
Reset already happens before this so just force the dr_mode. Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
parent
97e463886b
commit
25362d3183
1 changed files with 1 additions and 1 deletions
|
@ -520,7 +520,7 @@ static int dwc2_driver_probe(struct platform_device *dev)
|
|||
/* 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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue