[PATCH 0/4] Followup to "Make clk_hw::init NULL after clk registration"

From: Stephen Boyd
Date: Thu Aug 15 2019 - 12:00:40 EST


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: <bot@xxxxxxxxxxxx>
Cc: <tomeu.vizoso@xxxxxxxxxxxxx>
Cc: <guillaume.tucker@xxxxxxxxxxxxx>
Cc: <mgalka@xxxxxxxxxxxxx>
Cc: <broonie@xxxxxxxxxx>
Cc: <matthew.hart@xxxxxxxxxx>
Cc: <khilman@xxxxxxxxxxxx>
Cc: <enric.balletbo@xxxxxxxxxxxxx>
Cc: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx>
Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx>
Cc: Alexandre Belloni <alexandre.belloni@xxxxxxxxxxx>
Cc: Chen-Yu Tsai <wens@xxxxxxxx>
Cc: Jun Nie <jun.nie@xxxxxxxxxx>
Cc: Maxime Ripard <maxime.ripard@xxxxxxxxxxx>
Cc: Shawn Guo <shawnguo@xxxxxxxxxx>
Cc: Sugaya Taichi <sugaya.taichi@xxxxxxxxxxxxx>
Cc: Taniya Das <tdas@xxxxxxxxxxxxxx>

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