1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 08:35:19 -05:00
linux/drivers/clk/mmp
Kuan-Wei Chiu 2fbabea626 clk: mmp: pxa168: Fix memory leak in pxa168_clk_init()
In cases where mapping of mpmu/apmu/apbc registers fails, the code path
does not handle the failure gracefully, potentially leading to a memory
leak. This fix ensures proper cleanup by freeing the allocated memory
for 'pxa_unit' before returning.

Signed-off-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Link: https://lore.kernel.org/r/20231210175232.3414584-1-visitorckw@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2023-12-16 17:15:06 -08:00
..
clk-apbc.c
clk-apmu.c
clk-audio.c
clk-frac.c
clk-gate.c
clk-mix.c
clk-of-mmp2.c
clk-of-pxa168.c clk: mmp: pxa168: Fix memory leak in pxa168_clk_init() 2023-12-16 17:15:06 -08:00
clk-of-pxa910.c clk: pxa910: Move number of clocks to driver source 2023-08-22 14:14:17 -07:00
clk-of-pxa1928.c clk: pxa1928: Move number of clocks to driver source 2023-08-22 14:14:14 -07:00
clk-pll.c
clk.c
clk.h
Makefile
pwr-island.c
reset.c
reset.h