summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorYangtao Li <tiny.windzz@gmail.com>2018-12-26 08:42:26 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-29 10:21:38 +0100
commit0e1cef32bde2ad8493809075832f4860fffcf228 (patch)
tree97a4a988df737051c5957a2aa2cc445fdbae87ba /scripts
parent0023d105fc47c6a5c29049422763568646a62c2c (diff)
clk: armada-xp: fix refcount leak in axp_clk_init()
[ Upstream commit db20a90a4b6745dad62753f8bd2f66afdd5abc84 ] 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: 0a11a6ae9437 ("clk: mvebu: armada-xp: maintain clock init order") Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions