[PATCH] clk: imx7d: Move clks_init_on before any clock operations

Fabio Estevam festevam at gmail.com
Wed Mar 28 05:14:55 PDT 2018


Hi Abel,

On Tue, Mar 27, 2018 at 11:23 AM, Abel Vesa <abel.vesa at nxp.com> wrote:
> From: Dong Aisheng <b29396 at freescale.com>
>
> For init on clocks we should move it at the first place in imx7d_clocks_init()
> before any clock operations, else the clock operation may fail in case the clock
> is still not on.

The patch and the commit log does not match.

You are not moving the code block to the "first place" inside
imx7d_clocks_init(), so this is confusing.

Also, why does this need to be done only in the imx7d clock driver?



More information about the linux-arm-kernel mailing list