diff options
| author | Suman Anna <s-anna@ti.com> | 2018-09-14 19:37:22 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:20:29 +0100 |
| commit | 4b8c7bce49caff113c2aa03989ad8b8642cd9a6c (patch) | |
| tree | e0014b8a7f4a3f662abfd56ac66df3267974fad8 /kernel | |
| parent | e4aecc15d7c4741f72c83bef46f2b69a9cbb73f6 (diff) | |
remoteproc: Check for NULL firmwares in sysfs interface
[ Upstream commit faeadbb64094757150a8c2a3175ca418dbdd472c ]
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
