summaryrefslogtreecommitdiff
path: root/include/linux/dsa
diff options
context:
space:
mode:
authorClément Léger <clement.leger@bootlin.com>2023-01-31 09:32:27 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-05-17 11:13:19 +0200
commit281714e480ff7ca12169fbf6835187fc27f69fbd (patch)
tree4c85c0832c066ff2b2690d839535b29c9ff73b05 /include/linux/dsa
parent9551abd92e411f4302103d63ddbeeb3d9b818d4c (diff)
clk: add missing of_node_put() in "assigned-clocks" property parsing
[ Upstream commit 27a6e1b09a782517fddac91259970ac466a3f7b6 ] When returning from of_parse_phandle_with_args(), the np member of the of_phandle_args structure should be put after usage. Add missing of_node_put() calls in both __set_clk_parents() and __set_clk_rates(). Fixes: 86be408bfbd8 ("clk: Support for clock parents and rates assigned from device tree") Signed-off-by: Clément Léger <clement.leger@bootlin.com> Link: https://lore.kernel.org/r/20230131083227.10990-1-clement.leger@bootlin.com Signed-off-by: Stephen Boyd <sboyd@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/dsa')
0 files changed, 0 insertions, 0 deletions