diff options
| author | Dafna Hirschfeld <[email protected]> | 2021-05-28 10:36:41 +0200 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-09-30 10:07:53 +0200 |
| commit | 065a7c66bd8b21db212fa86187ff12f0cac6ea6d (patch) | |
| tree | c3ff283b90fb4d69c2e73147a308e8fdc09b211b /tools/perf/scripts/python/flamegraph.py | |
| parent | a6b63ca455a19f263d56599f4b37cb1d61eb8fee (diff) | |
media: mtk-vcodec: venc: fix return value when start_streaming fails
In case vb2ops_venc_start_streaming fails, the error value
is overwritten by the ret value of pm_runtime_put which might
be 0. Fix it.
Fixes: 985c73693fe5a (" media: mtk-vcodec: Separating mtk encoder driver")
Signed-off-by: Dafna Hirschfeld <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions