Commit b7ef37d0 authored by Peter Ujfalusi's avatar Peter Ujfalusi Committed by Takashi Iwai

ARM: SAMSUNG: dma-ops: Fix dmaengine_prep_dma_cyclic() parameter list

There is a new flags parameter for the function.
Signed-off-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: default avatarVinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent e7736cde
...@@ -91,7 +91,8 @@ static int samsung_dmadev_prepare(unsigned ch, ...@@ -91,7 +91,8 @@ static int samsung_dmadev_prepare(unsigned ch,
break; break;
case DMA_CYCLIC: case DMA_CYCLIC:
desc = dmaengine_prep_dma_cyclic(chan, param->buf, 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; break;
default: default:
dev_err(&chan->dev->device, "unsupported format\n"); dev_err(&chan->dev->device, "unsupported format\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment