Messages in this thread Patch in this message | | | From | Alexandre Bounine <> | Subject | [PATCH 03/11] plat-samsung: add context parameter for DMA_SLAVE and DMA_CYCLIC | Date | Thu, 2 Feb 2012 16:32:13 -0500 |
| |
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
| |