linux/drivers/remoteproc
Christophe JAILLET 1a5d5c592e remoteproc: qcom: Fix error handling paths in order to avoid memory leaks
In case of error returned by 'q6v5_xfer_mem_ownership', we must free
some resources before returning.

In 'q6v5_mpss_init_image()', add a new label to undo a previous
'dma_alloc_attrs()'.
In 'q6v5_mpss_load()', re-use the already existing error handling code to
undo a previous 'request_firmware()', as already done in the other error
handling paths of the function.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
2017-11-14 23:20:11 -08:00
..
da8xx_remoteproc.c remoteproc/davinci: Add device tree support for OMAP-L138 DSP 2017-08-24 12:00:21 -07:00
imx_rproc.c remoteproc: imx_rproc: fix return value check in imx_rproc_addr_init() 2017-10-11 10:47:47 -07:00
Kconfig remoteproc: qcom: fix RPMSG_QCOM_GLINK_SMEM dependencies 2017-10-10 11:28:20 -07:00
keystone_remoteproc.c remoteproc/keystone: explicitly request exclusive reset control 2017-08-27 23:16:22 -07:00
Makefile remoteproc: imx_rproc: add a NXP/Freescale imx_rproc driver 2017-08-30 16:07:41 -07:00
omap_remoteproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00
omap_remoteproc.h remoteproc/omap: add a remoteproc driver for OMAP4 2012-02-08 22:53:47 +02:00
qcom_adsp_pil.c rpmsg updates for v4.14 2017-09-09 14:34:38 -07:00
qcom_common.c rpmsg updates for v4.14 2017-09-09 14:34:38 -07:00
qcom_common.h rpmsg updates for v4.14 2017-09-09 14:34:38 -07:00
qcom_q6v5_pil.c remoteproc: qcom: Fix error handling paths in order to avoid memory leaks 2017-11-14 23:20:11 -08:00
qcom_wcnss_iris.c remoteproc: qcom_wcnss: Fix circular module dependency 2016-11-14 21:52:19 -08:00
qcom_wcnss.c remoteproc: qcom: wcnss: Make SMD handling common 2017-02-06 08:57:25 -08:00
qcom_wcnss.h remoteproc: qcom_wcnss: Fix circular module dependency 2016-11-14 21:52:19 -08:00
remoteproc_core.c remoteproc: Introduce rproc handle accessor for children 2017-09-01 15:49:13 -07:00
remoteproc_debugfs.c remoteproc: debug: add carveouts list dump feature 2017-11-06 21:57:27 -08:00
remoteproc_elf_loader.c remoteproc: align code with open parenthesis 2016-08-12 21:27:49 -07:00
remoteproc_internal.h remoteproc: Merge __rproc_boot() with rproc_boot() 2017-07-26 10:01:27 -07:00
remoteproc_sysfs.c remoteproc: Add RPROC_DELETED state 2017-01-30 14:18:52 -08:00
remoteproc_virtio.c virtio: add context flag to find vqs 2017-05-02 23:41:43 +03:00
st_remoteproc.c remoteproc: st: explicitly request exclusive reset control 2017-08-27 23:18:52 -07:00
st_slim_rproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00
wkup_m3_rproc.c drivers: remoteproc: constify rproc_ops structures 2017-01-18 10:46:50 -08:00