linux/drivers/clk/hisilicon
J. Neuschäfer 7b03559044
clk: hisilicon: Improve deallocation in error path
Unmap 'base' if an error occurs after it has been mapped.

Reported-by: Tao Lan <taolan@huawei.com>
Closes: https://lore.kernel.org/lkml/ZNlSH+eWV8Sk3FYn@probook/
Signed-off-by: J. Neuschäfer <j.ne@posteo.net>
Reviewed-by: Brian Masney <bmasney@redhat.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2026-04-28 20:52:43 -07:00
..
clk-hi3519.c clk: Switch back to struct platform_driver::remove() 2024-09-21 14:12:05 -07:00
clk-hi3559a.c clk: Switch back to struct platform_driver::remove() 2024-09-21 14:12:05 -07:00
clk-hi3620.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
clk-hi3660-stub.c clk: hisilicon: hi3660-stub: convert from round_rate() to determine_rate() 2025-09-08 09:41:27 -04:00
clk-hi3660.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-hi3670.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-hi6220-stub.c clk: hisilicon: hi6220-stub: convert from round_rate() to determine_rate() 2025-09-08 09:41:27 -04:00
clk-hi6220.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-hip04.c clk: Explicitly include correct DT includes 2023-07-19 13:13:16 -07:00
clk-hisi-phase.c
clk-hix5hd2.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
clk.c clk: hisilicon: Improve deallocation in error path 2026-04-28 20:52:43 -07:00
clk.h clk: hisilicon: Add clock driver for hi3559A SoC 2021-06-27 20:14:24 -07:00
clkdivider-hi6220.c clk: hisilicon: clkdivider-hi6220: use kzalloc_flex 2026-04-28 18:43:15 -07:00
clkgate-separated.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
crg-hi3516cv300.c clk: Switch back to struct platform_driver::remove() 2024-09-21 14:12:05 -07:00
crg-hi3798cv200.c clk: Switch back to struct platform_driver::remove() 2024-09-21 14:12:05 -07:00
crg.h
Kconfig clk: hisilicon: hi3559a: select RESET_HISI 2021-07-26 17:23:40 -07:00
Makefile clk: hisilicon: Add clock driver for hi3559A SoC 2021-06-27 20:14:24 -07:00
reset.c clk: hisilicon: use devm_platform_ioremap_resource() to simplify code 2019-10-16 16:17:06 -07:00
reset.h