diff options
author | 2024-10-26 01:56:41 +0900 | |
---|---|---|
committer | 2024-11-07 10:43:31 +0000 | |
commit | 6c9934c5a00ae722a98d1a06ed44b673514407b5 (patch) | |
tree | 81341caf647d1c8ebb82b20996e3d290750d2046 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | media: venus: Enable h.264 hierarchical coding (diff) | |
download | wireguard-linux-6c9934c5a00ae722a98d1a06ed44b673514407b5.tar.xz wireguard-linux-6c9934c5a00ae722a98d1a06ed44b673514407b5.zip |
media: venus: fix enc/dec destruction order
We destroy mutex-es too early as they are still taken in
v4l2_fh_exit()->v4l2_event_unsubscribe()->v4l2_ctrl_find().
We should destroy mutex-es right before kfree(). Also
do not vdec_ctrl_deinit() before v4l2_fh_exit().
Fixes: 7472c1c69138 ("[media] media: venus: vdec: add video decoder files")
Suggested-by: Tomasz Figa <tfiga@google.com>
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions