Searched hist:"1 ade3f3f16986cd7c6fce02feede957f03eb8a42" (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/media/platform/amphion/ |
H A D | vpu_msgs.c | diff 1ade3f3f16986cd7c6fce02feede957f03eb8a42 Mon Nov 21 00:34:42 CST 2022 Ming Qian <ming.qian@nxp.com> media: amphion: lock and check m2m_ctx in event handler
driver needs to cancel vpu before releasing the vpu instance, so call v4l2_m2m_ctx_release() first, to handle the redundant event triggered after m2m_ctx is released.
lock and check m2m_ctx in the event handler.
Fixes: 3cd084519c6f ("media: amphion: add vpu v4l2 m2m support") Signed-off-by: Ming Qian <ming.qian@nxp.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|
H A D | vpu_v4l2.c | diff 1ade3f3f16986cd7c6fce02feede957f03eb8a42 Mon Nov 21 00:34:42 CST 2022 Ming Qian <ming.qian@nxp.com> media: amphion: lock and check m2m_ctx in event handler
driver needs to cancel vpu before releasing the vpu instance, so call v4l2_m2m_ctx_release() first, to handle the redundant event triggered after m2m_ctx is released.
lock and check m2m_ctx in the event handler.
Fixes: 3cd084519c6f ("media: amphion: add vpu v4l2 m2m support") Signed-off-by: Ming Qian <ming.qian@nxp.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
|