android_kernel_xiaomi_sm8450/drivers/clk/ti
David Lechner 0ce9d89343 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:07:53 +02:00
..
adpll.c clk/ti/adpll: allocate room for terminating null 2019-11-08 09:00:37 -08:00
apll.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
autoidle.c clk: ti: Update component clocks to use ti_dt_clk_name() 2023-11-20 11:06:47 +01:00
clk-2xxx.c Merge branch 'cleanup-clk-h-includes' into clk-next 2015-07-28 11:59:09 -07:00
clk-3xxx.c clk: ti: omap3: cleanup unnecessary clock aliases 2017-12-01 15:17:17 +02:00
clk-7xx-compat.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-7xx.c clk: ti: dra7: add missing clkctrl register for SHA2 instance 2020-09-22 13:00:07 -07:00
clk-33xx-compat.c clk: ti: am33xx: rename existing clkctrl data as compat data 2018-10-03 15:02:26 +03:00
clk-33xx.c clk: ti: am33xx: fix RTC clock parent 2020-05-12 20:17:46 -07:00
clk-43xx-compat.c clk: ti: am43xx: rename existing clkctrl data as compat data 2018-10-03 15:02:26 +03:00
clk-43xx.c clk: ti: am43xx: Fix clock parent for RTC clock 2020-03-16 11:28:05 -07:00
clk-44xx.c Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5" 2022-10-15 07:55:54 +02:00
clk-54xx.c Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5" 2022-10-15 07:55:54 +02:00
clk-814x.c clk: ti: Fix dm814x clkctrl for ethernet 2020-03-17 09:45:24 -07:00
clk-816x.c clk: ti: dm816: enable sysclk6_ck on init 2020-05-19 09:38:03 -07:00
clk-dra7-atl.c clk: ti: dra7-atl: Fix leak of of_nodes 2024-10-17 15:07:53 +02:00
clk.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
clkctrl.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
clkt_dflt.c clk: ti: convert to use proper register definition for all accesses 2017-03-08 13:06:15 +02:00
clkt_dpll.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clkt_iclk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clock.h clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
clockdomain.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2023-11-20 11:06:47 +01:00
composite.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
divider.c clk: ti: fix double free in of_ti_divider_clk_setup() 2023-11-20 11:06:47 +01:00
dpll3xxx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
dpll44xx.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
dpll.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
fapll.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2023-11-20 11:06:47 +01:00
fixed-factor.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
gate.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
interface.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile clk: ti: dra7xx: rename existing clkctrl data as compat data 2018-10-03 15:02:27 +03:00
mux.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:06:47 +01:00