linux/drivers/clk/spear
Haoxiang Li a0ac82cbed
clk: spear: fix resource leak in clk_register_vco_pll()
Add a goto label in clk_register_vco_pll(), unregister vco_clk
if tpll_clk is failed to be registered.

Signed-off-by: Haoxiang Li <lihaoxiang@isrc.iscas.ac.cn>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20260325062204.169648-1-lihaoxiang@isrc.iscas.ac.cn
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2026-04-01 23:46:18 +02:00
..
clk-aux-synth.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
clk-frac-synth.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
clk-gpt-synth.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
clk-vco-pll.c clk: spear: fix resource leak in clk_register_vco_pll() 2026-04-01 23:46:18 +02:00
clk.c treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2022-06-10 14:51:35 +02:00
clk.h treewide: Replace GPLv2 boilerplate/reference with SPDX - gpl-2.0_56.RULE (part 2) 2022-06-10 14:51:35 +02:00
Makefile
spear3xx_clock.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
spear6xx_clock.c clk: spear: Fix SSP clock definition on SPEAr600 2022-11-22 18:03:52 -08:00
spear1310_clock.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
spear1340_clock.c clk: Fix typos 2025-07-26 23:49:18 -07:00