I found some more cases where the init structure is referenced from within the clk_hw struct after clk_registration is called. I suspect the rtc driver fix is useful to avoid crashes on Allwinner devices, reported by kernel-ci.
Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: <[email protected]> Cc: Sylwester Nawrocki <[email protected]> Cc: Alessandro Zummo <[email protected]> Cc: Alexandre Belloni <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Jun Nie <[email protected]> Cc: Maxime Ripard <[email protected]> Cc: Shawn Guo <[email protected]> Cc: Sugaya Taichi <[email protected]> Cc: Taniya Das <[email protected]> Stephen Boyd (4): clk: milbeaut: Don't reference clk_init_data after registration clk: zx296718: Don't reference clk_init_data after registration rtc: sun6i: Don't reference clk_init_data after registration clk: qcom: Remove error prints from DFS registration drivers/clk/clk-milbeaut.c | 2 +- drivers/clk/qcom/clk-rcg2.c | 8 +-- drivers/clk/zte/clk-zx296718.c | 109 +++++++++++++++------------------ drivers/rtc/rtc-sun6i.c | 2 +- 4 files changed, 52 insertions(+), 69 deletions(-) -- Sent by a computer through tubes

