aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/timblogiw.c
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@linux.intel.com>2011-10-14 01:09:23 -0400
committerVinod Koul <vinod.koul@linux.intel.com>2011-10-31 00:10:15 -0400
commit1003cab8276cd34d9deab8ca9d148ee59f7728a7 (patch)
treea680ab4f07b3cede8f10b6e3876f28b4f337a83f /drivers/media/video/timblogiw.c
parent20dd5a356efcb5bf574baa9adccc775158f13ae1 (diff)
media, video: move to dma_transfer_direction
fixup usage of dma direction by introducing dma_transfer_direction, this patch moves media and video drivers to use new enum Cc: Mauro Carvalho Chehab <mchehab@infradead.org> Cc: Paul Mundt <lethal@linux-sh.org> Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Diffstat (limited to 'drivers/media/video/timblogiw.c')
-rw-r--r--drivers/media/video/timblogiw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/timblogiw.c b/drivers/media/video/timblogiw.c
index 84cd1b65b765..d542c8b9e2f4 100644
--- a/drivers/media/video/timblogiw.c
+++ b/drivers/media/video/timblogiw.c
@@ -564,7 +564,7 @@ static void buffer_queue(struct videobuf_queue *vq, struct videobuf_buffer *vb)
564 spin_unlock_irq(&fh->queue_lock); 564 spin_unlock_irq(&fh->queue_lock);
565 565
566 desc = fh->chan->device->device_prep_slave_sg(fh->chan, 566 desc = fh->chan->device->device_prep_slave_sg(fh->chan,
567 buf->sg, sg_elems, DMA_FROM_DEVICE, 567 buf->sg, sg_elems, DMA_DEV_TO_MEM,
568 DMA_PREP_INTERRUPT | DMA_COMPL_SKIP_SRC_UNMAP); 568 DMA_PREP_INTERRUPT | DMA_COMPL_SKIP_SRC_UNMAP);
569 if (!desc) { 569 if (!desc) {
570 spin_lock_irq(&fh->queue_lock); 570 spin_lock_irq(&fh->queue_lock);