diff options
| author | 2021-11-11 14:17:51 +0100 | |
|---|---|---|
| committer | 2021-11-30 12:07:53 +0100 | |
| commit | 615c6f28b9ad7efc9bfbef2cafc6a0c5bc0c21e0 (patch) | |
| tree | 8fc76548e7034d4256d8bf7ce7b8632d9884e1d2 /tools/perf/scripts/python/flamegraph.py | |
| parent | media: vb2: frame_vector.c: don't overwrite error code (diff) | |
media: mtk-vcodec: Fix an error handling path in 'mtk_vcodec_probe()'
In case of error the 'media_device_init()' call is not balanced by a
corresponding 'media_device_cleanup()' call.
Add it, when needed, as already done in the remove function.
Fixes: 118add98f80e ("media: mtk-vcodec: vdec: add media device if using stateless api")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Tzung-Bi Shih <tzungbi@google.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
