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

2019-08-13 Thread Stephen Boyd
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 > Sig

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

2019-08-01 Thread Stephen Boyd
Quoting Dinh Nguyen (2019-08-01 08:12:58) > Hi Stephen, > > On 7/31/19 2:35 PM, Stephen Boyd wrote: > > 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

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

2019-08-01 Thread Dinh Nguyen
Hi Stephen, On 7/31/19 2:35 PM, Stephen Boyd wrote: > 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 Ngu

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

2019-07-31 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: Dinh Nguyen Signed-off-by: Stephen Boyd --- Please ack so I can take t