linux/drivers/clk/socfpga
Xiu Jianfeng bd72ab5e6f clk: socfpga: Fix memory leak in socfpga_gate_init()
[ Upstream commit 0b8ba891ad ]

Free @socfpga_clk and @ops on the error path to avoid memory leak issue.

Fixes: a30a67be7b ("clk: socfpga: Don't have get_parent for single parent ops")
Signed-off-by: Xiu Jianfeng <xiujianfeng@huawei.com>
Link: https://lore.kernel.org/r/20221123031622.63171-1-xiujianfeng@huawei.com
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-12-31 13:32:26 +01:00
..
clk-agilex.c clk: socfpga: agilex: Make use of the helper function devm_platform_ioremap_resource() 2022-01-05 16:43:41 -08:00
clk-gate-a10.c
clk-gate-s10.c clk: cleanup comments 2022-03-11 18:22:15 -08:00
clk-gate.c clk: socfpga: Fix memory leak in socfpga_gate_init() 2022-12-31 13:32:26 +01:00
clk-periph-a10.c
clk-periph-s10.c clk: socfpga: cleanup spdx tags 2022-03-11 18:21:45 -08:00
clk-periph.c
clk-pll-a10.c
clk-pll-s10.c clk: socfpga: cleanup spdx tags 2022-03-11 18:21:45 -08:00
clk-pll.c clk: socfpga: clk-pll: Remove unused variable 'rc' 2021-06-27 17:33:21 -07:00
clk-s10.c clk: socfpga: cleanup spdx tags 2022-03-11 18:21:45 -08:00
clk.c
clk.h
Kconfig
Makefile
stratix10-clk.h clk: agilex/stratix10: add support for the 2nd bypass 2021-06-27 16:39:59 -07:00