diff options
| author | Christophe JAILLET <[email protected]> | 2021-11-11 14:17:51 +0100 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2021-11-30 12:07:53 +0100 |
| commit | 615c6f28b9ad7efc9bfbef2cafc6a0c5bc0c21e0 (patch) | |
| tree | 8fc76548e7034d4256d8bf7ce7b8632d9884e1d2 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 89ab2d39643e5ce2b122baa1e76176d1bd984cec (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 <[email protected]>
Acked-by: Tzung-Bi Shih <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions