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>
This commit is contained in:
parent
e7736cdea2
commit
b7ef37d0e3
|
@ -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");
|
||||||
|
|
Loading…
Reference in a new issue