Message ID | 20230208091529.31356-4-hayashi.kunihiko@socionext.com |
---|---|
State | Superseded |
Delegated to: | Bin Meng |
Headers | show |
Series | usb: dwc3: Refactor dwc3-generic and apply to dwc3-uniphier | expand |
diff --git a/drivers/usb/dwc3/dwc3-generic.c b/drivers/usb/dwc3/dwc3-generic.c index e32003d68e01..8fa56e1ac173 100644 --- a/drivers/usb/dwc3/dwc3-generic.c +++ b/drivers/usb/dwc3/dwc3-generic.c @@ -572,6 +572,12 @@ static int dwc3_glue_probe(struct udevice *dev) if (ret) return ret; + if (glue->clks.count == 0) { + ret = dwc3_glue_clk_init(child, glue); + if (ret) + return ret; + } + if (glue->resets.count == 0) { ret = dwc3_glue_reset_init(child, glue); if (ret)