Re: [PATCH] clk: ti: Don't reference clk_init_data after registration

2019-08-16 Thread Stephen Boyd
Quoting Stephen Boyd (2019-08-15 15:12:49) > 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: Tero Kristo >

Re: [PATCH] clk: ti: Don't reference clk_init_data after registration

2019-08-16 Thread Stephen Boyd
Quoting Stephen Boyd (2019-08-15 15:12:49) > 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: Tero Kristo >

[PATCH] clk: ti: Don't reference clk_init_data after registration

2019-08-15 Thread Stephen Boyd
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: Tero Kristo Cc: Tony Lindgren Signed-off-by: Stephen Boyd --- This