diff options
author | Suman Anna <[email protected]> | 2018-09-14 19:37:22 -0500 |
---|---|---|
committer | Bjorn Andersson <[email protected]> | 2018-10-05 23:04:20 -0700 |
commit | faeadbb64094757150a8c2a3175ca418dbdd472c (patch) | |
tree | 9644cf26f3e593b01d8406477aa7a53b413615c0 /tools/perf/util/trace-event-scripting.c | |
parent | 29a5f9aaf9d365c46f1f9058375061a51ccea4a2 (diff) |
remoteproc: Check for NULL firmwares in sysfs interface
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 <[email protected]>
Signed-off-by: Suman Anna <[email protected]>
Signed-off-by: Bjorn Andersson <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions