linux/drivers/clk/ti
Zhang Qilong 8c6239f6e9 clk: ti: Fix memleak in ti_fapll_synth_setup
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>
2020-12-17 01:46:37 -08:00
..
adpll.c clk/ti/adpll: allocate room for terminating null 2019-11-08 09:00:37 -08:00
apll.c clk: ti: Don't reference clk_init_data after registration 2019-08-16 10:22:46 -07:00
autoidle.c clk: ti: autoidle: add checks against NULL pointer reference 2020-09-22 13:00:07 -07: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 clk: ti: omap4: Add proper parent clocks for l4-secure clocks 2020-05-14 12:54:44 -07:00
clk-54xx.c clk: ti: omap5: Add proper parent clocks for l4-secure clocks 2020-05-14 12:54:46 -07: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: Remove pm_runtime_irq_safe() 2020-01-05 19:04:19 -08:00
clk.c clk: ti: clkctrl: Fix hidden dependency to node name 2020-01-20 12:29:27 +02:00
clkctrl.c clk: ti: clkctrl: convert subclocks to use proper names also 2020-05-12 20:18:19 -07: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: let init callback return an error code 2019-12-23 18:53:13 -08:00
clockdomain.c clk: ti: clockdomain: fix static checker warning 2020-09-22 13:00:07 -07:00
composite.c clk: ti: composite: fix memory leak 2020-05-14 12:54:41 -07:00
divider.c clk: ti: divider: convert to use min,max,mask instead of width 2019-10-31 15:32:36 +02: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 Merge branches 'clk-renesas', 'clk-rockchip', 'clk-const' and 'clk-simplify' into clk-next 2019-09-19 15:31:41 -07:00
fapll.c clk: ti: Fix memleak in ti_fapll_synth_setup 2020-12-17 01:46:37 -08:00
fixed-factor.c clk: Convert to using %pOFn instead of device_node.name 2018-08-30 09:50:20 -07:00
gate.c clk: ti: Remove unused functions 2019-06-07 11:54:48 -07:00
interface.c clk: ti: generalize the init sequence of clk_hw_omap clocks 2019-02-15 16:46:22 +02: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: Remove unused functions 2019-06-07 11:54:48 -07:00