Re: [PATCH 6/9] clk: socfpga: Don't reference clk_init_data after registration

From: Stephen Boyd
Date: Tue Aug 13 2019 - 20:25:12 EST


Quoting Stephen Boyd (2019-07-31 12:35:14)
> A future patch is going to change semantics of clk_register() so that
> clk_hw::init is guaranteed to be NULL after a clk is registered. Avoid
> referencing this member here so that we don't run into NULL pointer
> exceptions.
>
> Cc: Dinh Nguyen <dinguyen@xxxxxxxxxx>
> Signed-off-by: Stephen Boyd <sboyd@xxxxxxxxxx>
> ---

Applied to clk-next