media: hantro: Use v4l2_m2m_buf_done_and_job_finish
authorEzequiel Garcia <ezequiel@collabora.com>
Wed, 25 Mar 2020 21:34:34 +0000 (22:34 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 14 Apr 2020 09:22:54 +0000 (11:22 +0200)
commit28a202c55963386b8bc45bcc52029362e9aa0d33
treef42979f79f696b0475f1c14d6f8d3effa9b1f5ba
parent6837e43e9ca11c49eac175326a736ee1bd2de516
media: hantro: Use v4l2_m2m_buf_done_and_job_finish

Let the core sort out the nuances of returning buffers
to userspace, by using the v4l2_m2m_buf_done_and_job_finish
helper.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/hantro/hantro_drv.c