kernel_samsung_a53x/drivers/clk/imx
Peng Fan 737d7033a5 clk: imx: imx8mq: correct error handling path
[ Upstream commit 577ad169966e6e75b10e004389a3f79813e84b5d ]

Avoid memory leak in error handling path. It does not make
much sense for the SoC without clk driver, to make program behavior
correct, let's fix it.

Fixes: b80522040cd3 ("clk: imx: Add clock driver for i.MX8MQ CCM")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <error27@gmail.com>
Closes: https://lore.kernel.org/r/202309240551.e46NllPa-lkp@intel.com/
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Link: https://lore.kernel.org/r/20231001122618.194498-1-peng.fan@oss.nxp.com
Signed-off-by: Abel Vesa <abel.vesa@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-11-18 11:42:53 +01:00
..
clk-busy.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-composite-7ulp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-composite-8m.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-cpu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-divider-gate.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-fixup-div.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-fixup-mux.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-frac-pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-gate-exclusive.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-gate2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx5.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx6q.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx6sl.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx6sll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx6sx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx6ul.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx7d.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx7ulp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx8mm.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx8mn.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx8mp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx8mq.c clk: imx: imx8mq: correct error handling path 2024-11-18 11:42:53 +01:00
clk-imx8qxp-lpcg.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx8qxp-lpcg.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx8qxp.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx25.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx27.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx31.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-imx35.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-lpcg-scu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pfd.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pfdv2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pll14xx.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pllv1.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pllv2.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pllv3.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-pllv4.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-scu.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-scu.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-sscg-pll.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk-vf610.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk.c Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
clk.h Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00
Kconfig clk: imx: Select MXC_CLK for CLK_IMX8QXP 2024-11-18 11:42:53 +01:00
Makefile Import A536BXXU9EXDC 2024-06-15 16:02:09 -03:00