linux/drivers/clk/sprd
Liang He 91e6455bf7 clk: sprd: Hold reference returned by of_get_parent()
We should hold the reference returned by of_get_parent() and use it
to call of_node_put() for refcount balance.

Fixes: f95e8c7923 ("clk: sprd: support to get regmap from parent node")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220704004729.272481-1-windhl@126.com
Reviewed-by: Orson Zhai <orsonzhai@gmail.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-08-19 14:50:24 -07:00
..
common.c clk: sprd: Hold reference returned by of_get_parent() 2022-08-19 14:50:24 -07:00
common.h clk: sprd: Use the correct style for SPDX License Identifier 2019-05-01 13:01:23 -07:00
composite.c
composite.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
div.c
div.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
gate.c clk: sprd: check its parent status before reading gate clock 2020-05-26 23:41:14 -07:00
gate.h clk: sprd: check its parent status before reading gate clock 2020-05-26 23:41:14 -07:00
Kconfig clk: sprd: add clocks support for SC9863A 2020-03-24 19:03:57 -07:00
Makefile clk: sprd: add clocks support for SC9863A 2020-03-24 19:03:57 -07:00
mux.c
mux.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
pll.c clk: sprd: return correct type of value for _sprd_pll_recalc_rate 2020-05-26 20:14:56 -07:00
pll.h clk: sprd: Add macros for referencing parents without strings 2020-03-24 19:03:57 -07:00
sc9860-clk.c clk: sprd: Add check for return value of sprd_clk_regmap_init() 2019-06-27 15:08:29 -07:00
sc9863a-clk.c This time around we have 4 lines of diff in the core framework, removing a 2020-06-10 11:42:19 -07:00