WSL2-Linux-Kernel/drivers/soc/qcom
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
..
Kconfig soc: qcom: Select REMAP_MMIO for LLCC driver 2023-01-12 11:58:49 +01:00
Makefile
apr.c soc: qcom: apr: Make qcom,protection-domain optional again 2023-01-24 07:22:49 +01:00
cmd-db.c
cpr.c PM: AVS: qcom-cpr: Fix an error handling path in cpr_probe() 2023-02-01 08:27:06 +01:00
kryo-l2-accessors.c
llcc-qcom.c soc: qcom: llcc: make irq truly optional 2022-12-31 13:13:57 +01:00
mdt_loader.c
ocmem.c
pdr_interface.c
pdr_internal.h
qcom-geni-se.c
qcom_aoss.c
qcom_gsbi.c
qmi_encdec.c
qmi_interface.c
rmtfs_mem.c
rpmh-internal.h
rpmh-rsc.c
rpmh.c
rpmhpd.c
rpmpd.c
smd-rpm.c
smem.c
smem_state.c
smp2p.c
smsm.c
socinfo.c
trace-rpmh.h
wcnss_ctrl.c