Re: [PATCH] clk: clk-fixed-factor: Clear OF_POPULATED flag in case of failure

From: Stephen Boyd
Date: Wed Jul 25 2018 - 12:39:49 EST


Quoting Rajan Vaja (2018-07-17 06:17:00)
> Fixed factor clock has two initializations at of_clk_init() time
> and during platform driver probe. Before of_clk_init() call,
> node is marked as populated and so its probe never gets called.
>
> During of_clk_init() fixed factor clock registration may fail if
> any of its parent clock is not registered. In this case, it doesn't
> get chance to retry registration from probe. Clear OF_POPULATED
> flag if fixed factor clock registration fails so that clock
> registration is attempted again from probe.
>
> Signed-off-by: Rajan Vaja <rajan.vaja@xxxxxxxxxx>
> ---

Applied to clk-next