linux-stable/drivers/remoteproc
Suman Anna d26bd1ce5d remoteproc: Check for NULL firmwares in sysfs interface
[ Upstream commit faeadbb640 ]

The remoteproc framework provides a sysfs file 'firmware'
for modifying the firmware image name from userspace. Add
an additional check to ensure NULL firmwares are errored
out right away, rather than getting a delayed error while
requesting a firmware during the start of a remoteproc
later on.

Tested-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-11-24 08:23:15 +01:00
..
da8xx_remoteproc.c remoteproc/davinci: Use %zx for formating size_t 2019-11-20 17:59:39 +01:00
imx_rproc.c remoteproc: imx_rproc: Fix an error handling path in 'imx_rproc_probe()' 2018-05-30 07:52:30 +02: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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
omap_remoteproc.c
omap_remoteproc.h
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 License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
qcom_q6v5_pil.c remoteproc: qcom: Fix potential device node leaks 2018-06-21 04:02:48 +09:00
qcom_wcnss.c
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
remoteproc_core.c remoteproc: Introduce rproc handle accessor for children 2017-09-01 15:49:13 -07:00
remoteproc_debugfs.c
remoteproc_elf_loader.c
remoteproc_internal.h remoteproc: Merge __rproc_boot() with rproc_boot() 2017-07-26 10:01:27 -07:00
remoteproc_sysfs.c remoteproc: Check for NULL firmwares in sysfs interface 2019-11-24 08:23:15 +01:00
remoteproc_virtio.c
st_remoteproc.c remoteproc: st: explicitly request exclusive reset control 2017-08-27 23:18:52 -07:00
st_slim_rproc.c
wkup_m3_rproc.c