]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
dmaengine: Add flags parameter to dmaengine_prep_dma_cyclic()
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 24 Sep 2012 07:58:04 +0000 (10:58 +0300)
committerTakashi Iwai <tiwai@suse.de>
Mon, 24 Sep 2012 16:35:29 +0000 (18:35 +0200)
commite7736cdea223f3a5b867c359fb35cf08250dd771
tree9ec9873c35e67cd5389202cddc3157ca06e631f3
parent9d069dc00b02b886abe3cab5e369140f7cd78965
dmaengine: Add flags parameter to dmaengine_prep_dma_cyclic()

With this parameter added to dmaengine_prep_dma_cyclic() the API will be in
sync with other dmaengine_prep_*() functions.
The dmaengine_prep_dma_cyclic() function primarily used by audio for cyclic
transfer required by ALSA, we use the from audio to ask dma drivers to
suppress interrupts (if DMA_PREP_INTERRUPT is cleared) when it is supported
on the platform.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Vinod Koul <vinod.koul@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/linux/dmaengine.h
sound/soc/soc-dmaengine-pcm.c