diff options
Diffstat (limited to 'drivers/media/common/saa7146_fops.c')
-rw-r--r-- | drivers/media/common/saa7146_fops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/common/saa7146_fops.c b/drivers/media/common/saa7146_fops.c index 7364b9642d00..4da2a54cb8bd 100644 --- a/drivers/media/common/saa7146_fops.c +++ b/drivers/media/common/saa7146_fops.c | |||
@@ -57,7 +57,7 @@ void saa7146_dma_free(struct saa7146_dev *dev,struct videobuf_queue *q, | |||
57 | BUG_ON(in_interrupt()); | 57 | BUG_ON(in_interrupt()); |
58 | 58 | ||
59 | videobuf_waiton(&buf->vb,0,0); | 59 | videobuf_waiton(&buf->vb,0,0); |
60 | videobuf_dma_unmap(q, dma); | 60 | videobuf_dma_unmap(q->dev, dma); |
61 | videobuf_dma_free(dma); | 61 | videobuf_dma_free(dma); |
62 | buf->vb.state = VIDEOBUF_NEEDS_INIT; | 62 | buf->vb.state = VIDEOBUF_NEEDS_INIT; |
63 | } | 63 | } |