summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2012-09-24 09:58:05 +0200
committerTakashi Iwai <tiwai@suse.de>2012-09-24 18:35:47 +0200
commitb7ef37d0e382298bcf7ba399ce67b044d9add23a (patch)
tree69bad5817b0d22a487b52f5543f7fb5161e4e61c
parentdmaengine: Add flags parameter to dmaengine_prep_dma_cyclic() (diff)
downloadlinux-b7ef37d0e382298bcf7ba399ce67b044d9add23a.tar.xz
linux-b7ef37d0e382298bcf7ba399ce67b044d9add23a.zip
ARM: SAMSUNG: dma-ops: Fix dmaengine_prep_dma_cyclic() parameter list
There is a new flags parameter for the function. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Vinod Koul <vinod.koul@linux.intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--arch/arm/plat-samsung/dma-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/plat-samsung/dma-ops.c b/arch/arm/plat-samsung/dma-ops.c
index c38d75489240..d088afa034e8 100644
--- a/arch/arm/plat-samsung/dma-ops.c
+++ b/arch/arm/plat-samsung/dma-ops.c
@@ -91,7 +91,8 @@ static int samsung_dmadev_prepare(unsigned ch,
break;
case DMA_CYCLIC:
desc = dmaengine_prep_dma_cyclic(chan, param->buf,
- param->len, param->period, param->direction);
+ param->len, param->period, param->direction,
+ DMA_PREP_INTERRUPT | DMA_CTRL_ACK);
break;
default:
dev_err(&chan->dev->device, "unsupported format\n");