ARM: SAMSUNG: dma-ops: Fix dmaengine_prep_dma_cyclic() parameter list
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 24 Sep 2012 07:58:05 +0000 (10:58 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 Sep 2012 16:35:47 +0000 (18:35 +0200)
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>
arch/arm/plat-samsung/dma-ops.c

index c38d75489240fc34476ef9bfd2a3caa010df2967..d088afa034e87bf2d4df760a690e1bdb33bc0281 100644 (file)
@@ -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");