diff options
| author | Philipp Zabel <[email protected]> | 2022-04-05 14:55:17 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2022-04-24 08:45:03 +0100 |
| commit | 375acc17b108916de7357a6fad42e8bff61cd47d (patch) | |
| tree | fbb20bd0f28b9ef5b93ed153ce4fc1b59c3c56b3 /tools/perf/scripts/python/bin/flamegraph-record | |
| parent | 87e0ce68cc0216063c6329aca0c31961a33a5372 (diff) | |
media: coda: consolidate job_finish calls on decoder prepare_run failure
If the decoder prepare_run callback returns an error, the hardware
is never started and v4l2_m2m_job_finish() is called immediately,
currently in every error path.
Remove the duplicated job_finish calls from the error paths and reuse
the v4l2_m2m_job_finish() at the end of coda_pic_run_work instead.
Signed-off-by: Philipp Zabel <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/flamegraph-record')
0 files changed, 0 insertions, 0 deletions