aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorSarangdhar Joshi <[email protected]>2017-01-24 15:13:00 -0800
committerBjorn Andersson <[email protected]>2017-02-06 13:05:22 -0800
commit7a20c64ddb3deeb08bbe1ca8e9bcafd3241a5e0e (patch)
tree604176fe4a825ec518be9da928b533a13a416c48 /tools/perf/util/trace-event-scripting.c
parent66a66aa74ee262f03432f84de55ae314c391d9f5 (diff)
remoteproc: Reduce asynchronous request_firmware to auto-boot only
The rproc_add_virtio_devices() requests firmware asynchronously and triggers boot if the auto_boot flag is set. However, this asynchronous call seems to be redundant for non auto-boot scenario since the rproc_boot() would call request_firmware() anyways. Move the auto_boot check to rproc_add() so that a redundant call to _request_firmware can be avoided for non auto-boot case. Signed-off-by: Sarangdhar Joshi <[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