From: Alice Guo <alice....@nxp.com> When using NXP UUU to download flash.bin to i.MX95 19x19 evk board, it will get stuck in a loop at sdp_init() without this change.
Signed-off-by: Alice Guo <alice....@nxp.com> --- drivers/usb/dwc3/gadget.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 2b01113d54c..6b2b25c7aa5 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -1423,6 +1423,7 @@ static int dwc3_gadget_run_stop(struct dwc3 *dwc, int is_on, int suspend) } dwc3_writel(dwc->regs, DWC3_DCTL, reg); + mdelay(2); do { reg = dwc3_readl(dwc->regs, DWC3_DSTS); -- 2.43.0