WSL2-Linux-Kernel/drivers/clk/ti
Dan Carpenter 761c2a690d clk: ti: fix double free in of_ti_divider_clk_setup()
[ Upstream commit 7af5b9eadd64c9e02a71f97c45bcdf3b64841f6b ]

The "div" pointer is freed in _register_divider() and again in
of_ti_divider_clk_setup().  Delete the free in _register_divider()

Fixes: fbbc185915 ("clk: ti: divider: cleanup _register_divider and ti_clk_get_div_table")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Link: https://lore.kernel.org/r/6d36eeec-6c8a-4f11-a579-aa3cd7c38749@moroto.mountain
Reviewed-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-11-20 11:08:18 +01:00
..
Kconfig
Makefile
adpll.c drivers: ti: remove redundant error message in adpll.c 2021-06-27 19:56:45 -07:00
apll.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
autoidle.c clk: ti: Update component clocks to use ti_dt_clk_name() 2023-11-20 11:08:17 +01:00
clk-2xxx.c
clk-3xxx.c
clk-7xx-compat.c
clk-7xx.c
clk-33xx-compat.c
clk-33xx.c
clk-43xx-compat.c
clk-43xx.c
clk-44xx.c Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5" 2022-10-12 09:53:28 +02:00
clk-54xx.c Revert "clk: ti: Stop using legacy clkctrl names for omap4 and 5" 2022-10-12 09:53:28 +02:00
clk-814x.c
clk-816x.c
clk-dra7-atl.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
clk.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
clkctrl.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
clkt_dflt.c
clkt_dpll.c
clkt_iclk.c
clock.h clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
clockdomain.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2023-11-20 11:08:17 +01:00
composite.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
divider.c clk: ti: fix double free in of_ti_divider_clk_setup() 2023-11-20 11:08:18 +01:00
dpll.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
dpll3xxx.c
dpll44xx.c
fapll.c clk: ti: Update pll and clockdomain clocks to use ti_dt_clk_name() 2023-11-20 11:08:17 +01:00
fixed-factor.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
gate.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
interface.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00
mux.c clk: ti: change ti_clk_register[_omap_hw]() API 2023-11-20 11:08:17 +01:00