diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2012-09-24 03:58:05 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-09-24 12:35:47 -0400 |
commit | b7ef37d0e382298bcf7ba399ce67b044d9add23a (patch) | |
tree | 69bad5817b0d22a487b52f5543f7fb5161e4e61c /arch | |
parent | e7736cdea223f3a5b867c359fb35cf08250dd771 (diff) |
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/plat-samsung/dma-ops.c | 3 |
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, | |||
91 | break; | 91 | break; |
92 | case DMA_CYCLIC: | 92 | case DMA_CYCLIC: |
93 | desc = dmaengine_prep_dma_cyclic(chan, param->buf, | 93 | desc = dmaengine_prep_dma_cyclic(chan, param->buf, |
94 | param->len, param->period, param->direction); | 94 | param->len, param->period, param->direction, |
95 | DMA_PREP_INTERRUPT | DMA_CTRL_ACK); | ||
95 | break; | 96 | break; |
96 | default: | 97 | default: |
97 | dev_err(&chan->dev->device, "unsupported format\n"); | 98 | dev_err(&chan->dev->device, "unsupported format\n"); |