linux-stable/drivers/remoteproc
Mathieu Poirier 226f5db421 remoteproc: Get rid of tedious error path
Get rid of tedious error management by moving firmware and operation
allocation after calling device_initialize().  That way we take advantage
of the automatic call to rproc_type_release() to cleanup after ourselves
when put_device() is called.

Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Acked-by: Suman Anna <s-anna@ti.com>
Link: https://lore.kernel.org/r/20200420231601.16781-5-mathieu.poirier@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2020-04-20 19:29:59 -07:00
..
da8xx_remoteproc.c remoteproc: Remove dev_err() usage after platform_get_irq() 2019-08-26 21:59:58 -07:00
imx_rproc.c remoteproc: Use size_t type for len in da_to_va 2020-03-25 22:29:38 -07:00
Kconfig remoteproc updates for v5.7 2020-04-02 15:42:13 -07:00
keystone_remoteproc.c remoteproc: Use size_t type for len in da_to_va 2020-03-25 22:29:38 -07:00
Makefile remoteproc: add IPA notification to q6v5 driver 2020-03-08 22:07:09 -07:00
mtk_common.h rpmsg: add rpmsg support for mt8183 SCP. 2020-01-20 10:29:56 -08:00
mtk_scp.c remoteproc/mediatek: Use size_t type for len in scp_da_to_va 2020-03-25 22:29:42 -07:00
mtk_scp_ipi.c rpmsg: add rpmsg support for mt8183 SCP. 2020-01-20 10:29:56 -08:00
omap_remoteproc.c remoteproc/omap: Fix set_load call in omap_rproc_request_timer 2020-04-03 10:47:21 -07:00
omap_remoteproc.h remoteproc/omap: Switch to SPDX license identifiers 2020-03-25 22:29:51 -07:00
qcom_common.c remoteproc: qcom: Move glink_ssr notification after stop 2019-07-24 16:01:14 -07:00
qcom_common.h remoteproc: qcom: Introduce sysmon 2018-02-12 16:57:22 -08:00
qcom_q6v5.c remoteproc: qcom: q6v5: Add common panic handler 2020-03-25 22:29:45 -07:00
qcom_q6v5.h remoteproc: qcom: q6v5: Add common panic handler 2020-03-25 22:29:45 -07:00
qcom_q6v5_adsp.c remoteproc: use rproc_coredump_set_elf_info in drivers 2020-04-19 22:53:37 -07:00
qcom_q6v5_ipa_notify.c remoteproc: add IPA notification to q6v5 driver 2020-03-08 22:07:09 -07:00
qcom_q6v5_mss.c remoteproc: use rproc_coredump_set_elf_info in drivers 2020-04-19 22:53:37 -07:00
qcom_q6v5_pas.c remoteproc: use rproc_coredump_set_elf_info in drivers 2020-04-19 22:53:37 -07:00
qcom_q6v5_wcss.c remoteproc: Use size_t type for len in da_to_va 2020-03-25 22:29:38 -07:00
qcom_sysmon.c remoteproc: sysmon: Inform current rproc about all active rprocs 2020-04-20 00:09:16 -07:00
qcom_wcnss.c remoteproc: use rproc_coredump_set_elf_info in drivers 2020-04-19 22:53:37 -07:00
qcom_wcnss.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom_wcnss_iris.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 174 2019-05-30 11:26:41 -07:00
remoteproc_core.c remoteproc: Get rid of tedious error path 2020-04-20 19:29:59 -07:00
remoteproc_debugfs.c remoteproc: convert to DEFINE_SHOW_ATTRIBUTE 2020-04-16 15:56:17 -07:00
remoteproc_elf_helpers.h remoteproc: Add elf helpers to access elf64 and elf32 fields 2020-03-25 22:29:39 -07:00
remoteproc_elf_loader.c remoteproc: add rproc_coredump_set_elf_info 2020-04-19 22:53:02 -07:00
remoteproc_internal.h remoteproc: Add elf64 support in elf loader 2020-03-25 22:29:40 -07:00
remoteproc_sysfs.c remoteproc: Add a sysfs interface for name 2019-08-26 14:50:16 -07:00
remoteproc_virtio.c remoteproc: Fix NULL pointer dereference in rproc_virtio_notify 2020-03-25 22:29:44 -07:00
st_remoteproc.c remoteproc: Rename rproc_elf_sanity_check for elf32 2020-03-25 22:29:40 -07:00
st_slim_rproc.c remoteproc: Rename rproc_elf_sanity_check for elf32 2020-03-25 22:29:40 -07:00
stm32_rproc.c remoteproc: use rproc_coredump_set_elf_info in drivers 2020-04-19 22:53:37 -07:00
wkup_m3_rproc.c remoteproc: Use size_t type for len in da_to_va 2020-03-25 22:29:38 -07:00