1
0
Fork 0

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>
hifive-unleashed-5.1
Peter Ujfalusi 2012-09-24 10:58:05 +03:00 committed by Takashi Iwai
parent e7736cdea2
commit b7ef37d0e3
1 changed files with 2 additions and 1 deletions

View 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");