mirror-linux/drivers/soc
Christophe JAILLET ad5daeb648 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:34:08 +01:00
..
actions
amlogic
apple soc: apple: rtkit: Stop casting function pointer signatures 2022-12-31 13:31:53 +01:00
aspeed
atmel
bcm ARM: driver updates for 6.1 2022-10-06 11:04:57 -07:00
canaan
dove
fsl
fujitsu
gemini
imx soc: imx8m: Fix incorrect check for of_clk_get_by_name() 2023-02-01 08:34:05 +01:00
ixp4xx
lantiq
litex
mediatek soc: mediatek: pm-domains: Fix the power glitch issue 2022-12-31 13:32:55 +01:00
microchip
pxa pxa: Drop if with an always false condition 2022-09-26 12:40:11 +02:00
qcom PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe() 2023-02-01 08:34:08 +01:00
renesas
rockchip soc: rockchip: power-domain: add power domain support for rk3588 2022-09-09 19:06:41 +02:00
samsung
sifive soc: sifive: ccache: fix missing of_node_put() in sifive_ccache_init() 2022-12-31 13:31:50 +01:00
sunxi soc: sunxi: sram: Add support for the D1 system control 2022-09-18 22:54:38 +02:00
tegra soc/tegra: cbb: Check firewall before enabling error reporting 2022-12-31 13:31:50 +01:00
ti soc: ti: smartreflex: Fix PM disable depth imbalance in omap_sr_probe 2022-12-31 13:31:51 +01:00
ux500 ARM: ux500: do not directly dereference __iomem 2023-01-07 11:11:38 +01:00
versatile
xilinx
Kconfig
Makefile