sst-linux/drivers/clk/ti
David Lechner 7ea4ccad4f clk: ti: dra7-atl: Fix leak of of_nodes
[ Upstream commit 9d6e9f10e2e031fb7bfb3030a7d1afc561a28fea ]

This fix leaking the of_node references in of_dra7_atl_clk_probe().

The docs for of_parse_phandle_with_args() say that the caller must call
of_node_put() on the returned node. This adds the missing of_node_put()
to fix the leak.

Fixes: 9ac33b0ce8 ("CLK: TI: Driver for DRA7 ATL (Audio Tracking Logic)")
Signed-off-by: David Lechner <dlechner@baylibre.com>
Link: https://lore.kernel.org/r/20240826-clk-fix-leak-v1-1-f55418a13aa6@baylibre.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-10-17 15:21:05 +02:00
..
adpll.c
apll.c
autoidle.c
clk-2xxx.c
clk-3xxx.c
clk-7xx.c
clk-33xx.c
clk-43xx.c
clk-44xx.c
clk-54xx.c
clk-814x.c
clk-816x.c
clk-dra7-atl.c
clk.c
clkctrl.c
clkt_dflt.c
clkt_dpll.c
clkt_iclk.c
clock.h
clockdomain.c
composite.c
divider.c
dpll3xxx.c
dpll44xx.c
dpll.c
fapll.c
fixed-factor.c
gate.c
interface.c
Kconfig
Makefile
mux.c