linux/drivers/media/platform/mtk-vcodec
Ezequiel Garcia 0650a91499 media: mtk-vcodec: Correct return type for mem2mem buffer helpers
Fix the assigned type of mem2mem buffer handling API.
Namely, these functions:

 v4l2_m2m_next_buf
 v4l2_m2m_last_buf
 v4l2_m2m_buf_remove
 v4l2_m2m_next_src_buf
 v4l2_m2m_next_dst_buf
 v4l2_m2m_last_src_buf
 v4l2_m2m_last_dst_buf
 v4l2_m2m_src_buf_remove
 v4l2_m2m_dst_buf_remove

return a struct vb2_v4l2_buffer, and not a struct vb2_buffer.

Fixing this is necessary to fix the mem2mem buffer handling API,
changing the return to the correct struct vb2_v4l2_buffer instead
of a void pointer.

Signed-off-by: Ezequiel Garcia <ezequiel@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-18 15:29:35 -05:00
..
vdec media: vdec: fix some kernel-doc warnings 2017-11-30 04:18:59 -05:00
venc media: venc: don't use kernel-doc for undescribed enums 2017-11-30 04:18:54 -05:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtk_vcodec_dec_drv.c
mtk_vcodec_dec_pm.c media: mtk-vcodec: Using common interface to manage vdec/venc clock 2019-01-31 09:24:54 -02:00
mtk_vcodec_dec_pm.h
mtk_vcodec_dec.c media: mtk-vcodec: Correct return type for mem2mem buffer helpers 2019-02-18 15:29:35 -05:00
mtk_vcodec_dec.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
mtk_vcodec_drv.h media: mtk-vcodec: Using common interface to manage vdec/venc clock 2019-01-31 09:24:54 -02:00
mtk_vcodec_enc_drv.c
mtk_vcodec_enc_pm.c media: mtk-vcodec: Using common interface to manage vdec/venc clock 2019-01-31 09:24:54 -02:00
mtk_vcodec_enc_pm.h
mtk_vcodec_enc.c media: mtk-vcodec: Correct return type for mem2mem buffer helpers 2019-02-18 15:29:35 -05:00
mtk_vcodec_enc.h
mtk_vcodec_intr.c
mtk_vcodec_intr.h
mtk_vcodec_util.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
mtk_vcodec_util.h media: mtk-vcodec: Remove VA from encoder frame buffers 2018-12-03 14:29:14 -05:00
vdec_drv_base.h
vdec_drv_if.c
vdec_drv_if.h [media] mtk-vcodec: check the vp9 decoder buffer index from VPU 2017-03-22 11:26:47 -03:00
vdec_ipi_msg.h
vdec_vpu_if.c
vdec_vpu_if.h media: fix usage of whitespaces and on indentation 2018-01-04 13:12:01 -05:00
venc_drv_base.h
venc_drv_if.c
venc_drv_if.h media: mtk-vcodec: Remove VA from encoder frame buffers 2018-12-03 14:29:14 -05:00
venc_ipi_msg.h
venc_vpu_if.c
venc_vpu_if.h