WSL2-Linux-Kernel/drivers/soc
Christophe JAILLET bab87524f6 PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe()
[ Upstream commit 6049aae523 ]

If an error occurs after a successful pm_genpd_init() call, it should be
undone by a corresponding pm_genpd_remove().

Add the missing call in the error handling path, as already done in the
remove function.

Fixes: bf6910abf5 ("power: avs: Add support for CPR (Core Power Reduction)")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/0f520597dbad89ab99c217c8986912fa53eaf5f9.1671293108.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-02-01 08:27:06 +01:00
..
actions
amlogic soc: amlogic: Fix refcount leak in meson-secure-pwrc.c 2022-08-17 14:23:06 +02:00
aspeed soc: aspeed: lpc-ctrl: Block error printing on probe defer cases 2022-02-23 12:03:19 +01:00
atmel ARM: at91: fix soc detection for SAM9X60 SiPs 2022-07-12 16:35:15 +02:00
bcm soc: brcmstb: pm-arm: Fix refcount leak and __iomem leak bugs 2022-09-15 11:30:04 +02:00
canaan drivers: bus: Delete CONFIG_SIMPLE_PM_BUS 2021-10-05 17:47:22 +02:00
dove
fsl soc: fsl: select FSL_GUTS driver for DPIO 2022-09-20 12:39:46 +02:00
gemini
imx soc: imx8m: Fix incorrect check for of_clk_get_by_name() 2023-02-01 08:27:04 +01:00
ixp4xx soc: ixp4xx/npe: Fix unused match warning 2022-07-21 21:24:40 +02:00
lantiq
litex
mediatek soc: mediatek: pm-domains: Fix the power glitch issue 2022-12-31 13:14:38 +01:00
qcom PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe() 2023-02-01 08:27:06 +01:00
renesas soc: renesas: r8a779a0-sysc: Fix A2DP1 and A2CV[2357] PDR values 2022-08-17 14:23:06 +02:00
rockchip soc: rockchip: Fix refcount leak in rockchip_grf_init 2022-06-14 18:36:07 +02:00
samsung soc: samsung: exynos-pmu: Fix compilation when nothing selects CONFIG_MFD_CORE 2021-11-18 19:16:01 +01:00
sifive
sunxi soc: sunxi: sram: Fix debugfs info for A64 SRAM C 2022-10-05 10:39:41 +02:00
tegra soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA 2022-10-26 12:35:00 +02:00
ti soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe 2022-12-31 13:13:58 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2023-01-12 11:58:50 +01:00
versatile
xilinx
Kconfig
Makefile ARM: ixp4xx: fix compile-testing soc drivers 2021-08-02 14:31:15 +02:00