diff options
Diffstat (limited to 'drivers/media/video/pxa_camera.c')
-rw-r--r-- | drivers/media/video/pxa_camera.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/pxa_camera.c b/drivers/media/video/pxa_camera.c index fb242f6cfb1f..5835acf7fa7a 100644 --- a/drivers/media/video/pxa_camera.c +++ b/drivers/media/video/pxa_camera.c | |||
@@ -276,7 +276,7 @@ static void free_buffer(struct videobuf_queue *vq, struct pxa_buffer *buf) | |||
276 | * longer in STATE_QUEUED or STATE_ACTIVE | 276 | * longer in STATE_QUEUED or STATE_ACTIVE |
277 | */ | 277 | */ |
278 | videobuf_waiton(&buf->vb, 0, 0); | 278 | videobuf_waiton(&buf->vb, 0, 0); |
279 | videobuf_dma_unmap(vq, dma); | 279 | videobuf_dma_unmap(vq->dev, dma); |
280 | videobuf_dma_free(dma); | 280 | videobuf_dma_free(dma); |
281 | 281 | ||
282 | for (i = 0; i < ARRAY_SIZE(buf->dmas); i++) { | 282 | for (i = 0; i < ARRAY_SIZE(buf->dmas); i++) { |