media: videobuf2-v4l2: integrate with media requests
This implements the V4L2 part of the request support. The main change is that vb2_qbuf and vb2_prepare_buf now have a new media_device pointer. This required changes to several drivers that did not use the vb2_ioctl_qbuf/prepare_buf helper functions. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Reviewed-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
fd89e0bb6e
commit
394dc58880
@@ -940,7 +940,7 @@ isp_video_qbuf(struct file *file, void *fh, struct v4l2_buffer *b)
|
||||
int ret;
|
||||
|
||||
mutex_lock(&video->queue_lock);
|
||||
ret = vb2_qbuf(&vfh->queue, b);
|
||||
ret = vb2_qbuf(&vfh->queue, video->video.v4l2_dev->mdev, b);
|
||||
mutex_unlock(&video->queue_lock);
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user