V4L/DVB: videobuf: add queue argument to videobuf_waiton()
[linux-2.6.git] / drivers / media / video / sh_mobile_ceu_camera.c
index 2b24bd0..3921162 100644 (file)
@@ -245,7 +245,7 @@ static void free_buffer(struct videobuf_queue *vq,
        if (in_interrupt())
                BUG();
 
-       videobuf_waiton(&buf->vb, 0, 0);
+       videobuf_waiton(vq, &buf->vb, 0, 0);
        videobuf_dma_contig_free(vq, &buf->vb);
        dev_dbg(dev, "%s freed\n", __func__);
        buf->vb.state = VIDEOBUF_NEEDS_INIT;