linux/drivers/remoteproc
Joe Hattori fe80d3205e remoteproc: qcom: adsp: Remove subdevs on the error path of adsp_probe()
Current implementation of adsp_probe() in qcom_q6v5_adsp.c and does not
remove the subdevs of adsp on the error path. Fix this bug by calling
qcom_remove_{ssr,sysmon,pdm,smd,glink}_subdev(), and qcom_q6v5_deinit()
appropriately.

Fixes: dc160e4491 ("remoteproc: qcom: Introduce Non-PAS ADSP PIL driver")
Signed-off-by: Joe Hattori <joe@pf.is.s.u-tokyo.ac.jp>
Link: https://lore.kernel.org/r/fed3df4219543d46b88bacf87990d947f3fac8d7.1731038950.git.joe@pf.is.s.u-tokyo.ac.jp
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
2024-11-15 19:25:29 -08:00
..
da8xx_remoteproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
imx_dsp_rproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
imx_rproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
imx_rproc.h remoteproc: imx_rproc: Add support for poweroff and reboot 2024-08-26 10:25:15 -06:00
ingenic_rproc.c remoteporc: ingenic: Use devm_platform_ioremap_resource_byname() 2024-09-09 09:50:54 -06:00
Kconfig remoteproc: k3-r5: Add compile testing support 2024-10-18 09:59:21 -06:00
keystone_remoteproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
Makefile remoteproc: k3-m4: Add a remoteproc driver for M4F subsystem 2024-08-21 11:22:54 -06:00
meson_mx_ao_arc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
mtk_common.h remoteproc: mediatek: Support setting DRAM and IPI shared buffer sizes 2024-04-30 10:43:59 -06:00
mtk_scp_ipi.c remoteproc: mediatek: Support setting DRAM and IPI shared buffer sizes 2024-04-30 10:43:59 -06:00
mtk_scp.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
omap_remoteproc.c remoteproc: omap: Use devm_rproc_add() helper 2024-06-13 10:05:11 -06:00
omap_remoteproc.h remoteproc/omap: Switch to SPDX license identifiers 2020-03-25 22:29:51 -07:00
pru_rproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
pru_rproc.h remoteproc: pru: Add support for PRU specific interrupt configuration 2020-12-10 10:56:01 -06:00
qcom_common.c remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_common.h remoteproc: qcom: enable in-kernel PD mapper 2024-06-25 07:40:38 -07:00
qcom_pil_info.c remoteproc: qcom: pil_info: Don't memcpy_toio more than is provided 2021-12-13 16:58:05 -06:00
qcom_pil_info.h remoteproc: qcom: Introduce helper to store pil info in IMEM 2020-07-01 22:10:18 -07:00
qcom_q6v5_adsp.c remoteproc: qcom: adsp: Remove subdevs on the error path of adsp_probe() 2024-11-15 19:25:29 -08:00
qcom_q6v5_mss.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
qcom_q6v5_pas.c remoteproc: qcom: pas: Remove subdevs on the error path of adsp_probe() 2024-11-15 19:25:29 -08:00
qcom_q6v5_wcss.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
qcom_q6v5.c soc: qcom: aoss: Tidy up qmp_send() callers 2023-08-13 19:27:32 -07:00
qcom_q6v5.h remoteproc: qcom: q6v5: Add interconnect path proxy vote 2022-03-11 14:22:03 -06:00
qcom_sysmon.c remoteproc: Explicitly include correct DT includes 2023-07-15 10:35:50 -07:00
qcom_wcnss_iris.c remoteproc: Explicitly include correct DT includes 2023-07-15 10:35:50 -07:00
qcom_wcnss.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
qcom_wcnss.h remoteproc: qcom: wcnss: remove unused qcom_iris_driver declaration 2022-12-28 09:50:07 -06:00
rcar_rproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
remoteproc_cdev.c remoteproc: core: Move state checking to remoteproc_core 2022-04-14 11:13:33 -06:00
remoteproc_core.c remoteproc: Use iommu_paging_domain_alloc() 2024-09-30 09:59:42 -06:00
remoteproc_coredump.c remoteproc: core: Export the rproc coredump APIs 2023-07-15 12:56:48 -07:00
remoteproc_debugfs.c remoteproc: Don't bother checking the return value of debugfs_create* 2022-04-11 10:04:40 -06:00
remoteproc_elf_helpers.h remoteproc: fix an typo in fw_elf_get_class code comments 2021-07-28 14:57:30 -05:00
remoteproc_elf_loader.c ELF: fix all "Elf" typos 2023-04-08 13:45:37 -07:00
remoteproc_internal.h remoteproc: Make rproc_class constant 2024-03-26 11:24:38 -06:00
remoteproc_sysfs.c remoteproc: Make rproc_class constant 2024-03-26 11:24:38 -06:00
remoteproc_virtio.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
st_remoteproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
st_slim_rproc.c remoteproc: st_slim: Use devm_platform_ioremap_resource_byname() 2024-09-09 09:50:31 -06:00
stm32_rproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
ti_k3_dsp_remoteproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
ti_k3_m4_remoteproc.c remoteproc: k3: Call of_node_put(rmem_np) only once in three functions 2024-09-30 09:50:20 -06:00
ti_k3_r5_remoteproc.c remoteproc: k3-r5: Force cast from iomem address space 2024-10-29 11:19:26 -06:00
ti_sci_proc.h remoteproc: k3: Factor out TI-SCI processor control OF get function 2024-08-21 11:21:02 -06:00
wkup_m3_rproc.c remoteproc: Switch back to struct platform_driver::remove() 2024-10-29 11:27:37 -06:00
xlnx_r5_remoteproc.c remoteproc: xlnx: Add sram support 2024-09-05 10:09:22 -06:00