diff options
Diffstat (limited to 'drivers/media/video/cx23885/cx23885-core.c')
-rw-r--r-- | drivers/media/video/cx23885/cx23885-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cx23885-core.c b/drivers/media/video/cx23885/cx23885-core.c index 0dde57e96d30..161ae7316c95 100644 --- a/drivers/media/video/cx23885/cx23885-core.c +++ b/drivers/media/video/cx23885/cx23885-core.c | |||
@@ -1142,7 +1142,7 @@ void cx23885_free_buffer(struct videobuf_queue *q, struct cx23885_buffer *buf) | |||
1142 | 1142 | ||
1143 | BUG_ON(in_interrupt()); | 1143 | BUG_ON(in_interrupt()); |
1144 | videobuf_waiton(&buf->vb, 0, 0); | 1144 | videobuf_waiton(&buf->vb, 0, 0); |
1145 | videobuf_dma_unmap(q, dma); | 1145 | videobuf_dma_unmap(q->dev, dma); |
1146 | videobuf_dma_free(dma); | 1146 | videobuf_dma_free(dma); |
1147 | btcx_riscmem_free(to_pci_dev(q->dev), &buf->risc); | 1147 | btcx_riscmem_free(to_pci_dev(q->dev), &buf->risc); |
1148 | buf->vb.state = VIDEOBUF_NEEDS_INIT; | 1148 | buf->vb.state = VIDEOBUF_NEEDS_INIT; |