[PATCH 03/11] plat-samsung: add context parameter for DMA_SLAVE and DMA_CYCLIC

From: Alexandre Bounine
Date: Thu Feb 02 2012 - 16:33:53 EST


Fixup for added context parameter to DMA_SLAVE and DMA_CYCLIC interfaces.

Signed-off-by: Alexandre Bounine <alexandre.bounine@xxxxxxx>
Cc: Ben Dooks <ben-linux@xxxxxxxxx>
Cc: Kukjin Kim <kgene.kim@xxxxxxxxxxx>
Cc: Russell King <linux@xxxxxxxxxxxxxxxx>
---
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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/