Files
linux/drivers
Ezequiel Garcia 62b2d03e15 media: s5p-g2d: Correct return type for mem2mem buffer helpers
[ Upstream commit 30fa627b32 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-04-05 22:31:32 +02:00
..
2019-02-12 19:46:03 +01:00
2019-02-12 19:46:09 +01:00
2019-03-23 14:35:25 +01:00
2018-12-21 14:13:14 +01:00
2018-01-17 09:45:27 +01:00
2018-09-15 09:45:27 +02:00
2018-12-21 14:13:13 +01:00
2018-11-13 11:15:11 -08:00
2018-10-03 17:00:46 -07:00