lkml.org 
[lkml]   [2012]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 03/11] plat-samsung: add context parameter for DMA_SLAVE and DMA_CYCLIC
Date
Fixup for added context parameter to DMA_SLAVE and DMA_CYCLIC interfaces.

Signed-off-by: Alexandre Bounine <alexandre.bounine@idt.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Cc: Kukjin Kim <kgene.kim@samsung.com>
Cc: Russell King <linux@arm.linux.org.uk>
---
arch/arm/plat-samsung/dma-ops.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c
index 0747c77..726dc30 100644
--- a/arch/arm/plat-samsung/dma-ops.c
+++ b/arch/arm/plat-samsung/dma-ops.c
@@ -80,11 +80,12 @@ static int samsung_dmadev_prepare(unsigned ch,
sg_dma_address(&sg) = info->buf;

desc = chan->device->device_prep_slave_sg(chan,
- &sg, 1, info->direction, DMA_PREP_INTERRUPT);
+ &sg, 1, info->direction, DMA_PREP_INTERRUPT, NULL);
break;
case DMA_CYCLIC:
desc = chan->device->device_prep_dma_cyclic(chan,
- info->buf, info->len, info->period, info->direction);
+ info->buf, info->len, info->period, info->direction,
+ NULL);
break;
default:
dev_err(&chan->dev->device, "unsupported format\n");
--
1.7.8.4


\
 
 \ /
  Last update: 2012-02-02 22:37    [W:0.369 / U:0.128 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site