linux_dsm_epyc7002/drivers/clk/ti
Zhang Qilong 91877b1fb0 clk: ti: Fix memleak in ti_fapll_synth_setup
[ Upstream commit 8c6239f6e95f583bb763d0228e02d4dd0fb3d492 ]

If clk_register fails, we should goto free branch
before function returns to prevent memleak.

Fixes: 163152cbbe ("clk: ti: Add support for FAPLL on dm816x")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201113131623.2098222-1-zhangqilong3@huawei.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:58 +01:00
..
adpll.c
apll.c
autoidle.c clk: ti: autoidle: add checks against NULL pointer reference 2020-09-22 13:00:07 -07:00
clk-2xxx.c
clk-3xxx.c
clk-7xx-compat.c
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-33xx.c
clk-43xx-compat.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 clk: ti: clockdomain: fix static checker warning 2020-09-22 13:00:07 -07:00
composite.c
divider.c
dpll3xxx.c
dpll44xx.c
dpll.c
fapll.c clk: ti: Fix memleak in ti_fapll_synth_setup 2020-12-30 11:53:58 +01:00
fixed-factor.c
gate.c
interface.c
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile
mux.c