[U-Boot] [RESEND PATCH 2/5] usb: host: dwc2: add support for clk

Marek Vasut marex at denx.de
Mon Oct 14 23:28:16 UTC 2019


On 10/14/19 10:00 AM, Patrick Delaunay wrote:
> Add support for clock with driver model.
> 

Same question as with the PHY -- is there now a mandatory dependency on
the DM CLK ?

[...]

> @@ -1403,6 +1429,7 @@ static int dwc2_usb_remove(struct udevice *dev)
>  	dwc2_uninit_common(priv->regs);
>  
>  	reset_release_bulk(&priv->resets);
> +	clk_release_bulk(&priv->clks);

Shouldn't there be some clk_...disable() here ?


More information about the U-Boot mailing list