Merge tag 'media/v4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab...
[linux-2.6-microblaze.git] / drivers / media / usb / uvc / uvc_v4l2.c
index b26182c..84be596 100644 (file)
@@ -751,7 +751,8 @@ static int uvc_ioctl_qbuf(struct file *file, void *fh, struct v4l2_buffer *buf)
        if (!uvc_has_privileges(handle))
                return -EBUSY;
 
-       return uvc_queue_buffer(&stream->queue, buf);
+       return uvc_queue_buffer(&stream->queue,
+                               stream->vdev.v4l2_dev->mdev, buf);
 }
 
 static int uvc_ioctl_expbuf(struct file *file, void *fh,