android_kernel_xiaomi_sm8350/drivers/clk/meson
Liang He ad3a056982 clk: meson: Hold reference returned by of_get_parent()
[ Upstream commit 89ab396d712f7c91fe94f55cff23460426f5fc81 ]

We should hold the reference returned by of_get_parent() and use it
to call of_node_put() for refcount balance.

Fixes: 88e2da8124 ("clk: meson: aoclk: refactor common code into dedicated file")
Fixes: 6682bd4d44 ("clk: meson: factorise meson64 peripheral clock controller drivers")
Fixes: bb6eddd1d2 ("clk: meson: meson8b: use the HHI syscon if available")

Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220628141038.168383-1-windhl@126.com
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-10-26 13:22:34 +02:00
..
axg-aoclk.c
axg-aoclk.h
axg-audio.c
axg-audio.h
axg.c
axg.h
clk-cpu-dyndiv.c
clk-cpu-dyndiv.h
clk-dualdiv.c
clk-dualdiv.h
clk-mpll.c
clk-mpll.h
clk-phase.c
clk-phase.h
clk-pll.c clk: meson: clk-pll: propagate the error from meson_clk_pll_set_rate() 2021-03-04 10:26:26 +01:00
clk-pll.h
clk-regmap.c
clk-regmap.h
g12a-aoclk.c
g12a-aoclk.h
g12a.c clk: meson: g12a: fix gp0 and hifi ranges 2021-07-14 16:53:26 +02:00
g12a.h
gxbb-aoclk.c
gxbb-aoclk.h
gxbb.c clk: meson: gxbb: Fix the SDM_EN bit for MPLL0 on GXBB 2022-01-27 09:19:47 +01:00
gxbb.h
Kconfig
Makefile
meson8b.c clk: meson: Hold reference returned by of_get_parent() 2022-10-26 13:22:34 +02:00
meson8b.h
meson-aoclk.c clk: meson: Hold reference returned by of_get_parent() 2022-10-26 13:22:34 +02:00
meson-aoclk.h
meson-eeclk.c clk: meson: Hold reference returned by of_get_parent() 2022-10-26 13:22:34 +02:00
meson-eeclk.h
parm.h
sclk-div.c
sclk-div.h
vid-pll-div.c
vid-pll-div.h