diff options
author | Ming Qian <ming.qian@nxp.com> | 2022-08-29 07:33:16 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@kernel.org> | 2022-09-24 08:48:27 +0200 |
commit | d91d7bc85062309aae6d8064563ddf17947cb6bc (patch) | |
tree | b9e113b846addad8bf91209d718baef9319f437f /include/media | |
parent | cfeacb5d46ed9c747cad7fdffc254afced50c1ef (diff) |
media: amphion: release m2m ctx when releasing vpu instance
release m2m ctx in the callback function that
release the vpu instance, then there is no need
to add lock around releasing m2m ctx.
Fixes: 3cd084519c6f ("media: amphion: add vpu v4l2 m2m support")
Signed-off-by: Ming Qian <ming.qian@nxp.com>
Reviewed-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions