linux-stable/drivers/clk/mvebu
Yangtao Li d99352cae0 clk: dove: fix refcount leak in dove_clk_init()
[ Upstream commit 8d726c5128 ]

The of_find_compatible_node() returns a node pointer with refcount
incremented, but there is the lack of use of the of_node_put() when
done. Add the missing of_node_put() to release the refcount.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Fixes: 8f7fc5450b ("clk: mvebu: dove: maintain clock init order")
Fixes: 63b8d92c79 ("clk: add Dove PLL divider support for GPU, VMeta and AXI clocks")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:10 +01:00
..
ap806-system-controller.c
armada-37xx-periph.c The new and exciting feature this time around is in the clk core. 2018-08-15 21:41:21 -07:00
armada-37xx-tbg.c treewide: Use struct_size() for devm_kmalloc() and friends 2018-06-06 11:15:43 -07:00
armada-37xx-xtal.c
armada-38x.c clk: mvebu: armada-38x: add support for missing clocks 2018-03-19 13:53:57 -07:00
armada-39x.c
armada-370.c clk: armada-370: fix refcount leak in a370_clk_init() 2020-01-27 14:50:09 +01:00
armada-375.c
armada-xp.c clk: armada-xp: fix refcount leak in axp_clk_init() 2020-01-27 14:50:09 +01:00
clk-corediv.c clk: mvebu: use correct bit for 98DX3236 NAND 2018-06-01 12:46:33 -07:00
clk-cpu.c
common.c
common.h
cp110-system-controller.c clk: mvebu: Off by one bugs in cp110_of_clk_get() 2018-12-21 14:15:19 +01:00
dove-divider.c
dove-divider.h
dove.c clk: dove: fix refcount leak in dove_clk_init() 2020-01-27 14:50:10 +01:00
Kconfig
kirkwood.c clk: kirkwood: fix refcount leak in kirkwood_clk_init() 2020-01-27 14:50:09 +01:00
Makefile
mv98dx3236.c clk: mv98dx3236: fix refcount leak in mv98dx3236_clk_init() 2020-01-27 14:50:10 +01:00
orion.c