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 soc: qcom: mdt_loader: Drop PT_LOAD check on hash segment 2021-09-19 19:55:20 -05:00
ocmem.c soc: qcom: ocmem: Fix refcount leak in of_get_ocmem 2022-08-17 14:23:10 +02:00
pdr_interface.c
pdr_internal.h
qcom-geni-se.c
qcom_aoss.c soc: qcom: aoss: Fix refcount leak in qmp_cooling_devices_register 2022-08-17 14:23:10 +02:00
qcom_gsbi.c
qmi_encdec.c
qmi_interface.c
rmtfs_mem.c
rpmh-internal.h
rpmh-rsc.c
rpmh.c
rpmhpd.c soc: qcom: rpmhpd: fix sm8350_mxc's peer domain 2021-11-18 19:16:55 +01:00
rpmpd.c soc: qcom: rpmpd: Check for null return of devm_kcalloc 2022-04-08 14:23:15 +02:00
smd-rpm.c
smem.c
smem_state.c soc: qcom: smem_state: Add refcounting for the 'state->of_node' 2022-10-26 12:34:58 +02:00
smp2p.c soc: qcom: smp2p: Fix missing of_node_put() in smp2p_parse_ipc 2022-06-09 10:23:04 +02:00
smsm.c soc: qcom: smsm: Fix refcount leak bugs in qcom_smsm_probe() 2022-10-26 12:34:58 +02:00
socinfo.c soc: qcom: socinfo: add two missing PMIC IDs 2021-11-18 19:16:53 +01:00
trace-rpmh.h
wcnss_ctrl.c