[PATCH v3 04/15] dmaengine: Pass flags via device_prep_dma_cyclic() callback

Shawn Guo shawn.guo at linaro.org
Tue Sep 18 22:45:30 EDT 2012


On Fri, Sep 14, 2012 at 03:05:47PM +0300, Peter Ujfalusi wrote:
> Change the parameter list of device_prep_dma_cyclic() so the DMA drivers
> can receive the flags coming from clients.
> This feature can be used during audio operation to disable all audio
> related interrupts when the DMA_PREP_INTERRUPT is cleared from the flags.
> 
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
> CC: Nicolas Ferre <nicolas.ferre at atmel.com>
> CC: Barry Song <baohua.song at csr.com>
> CC: Srinidhi Kasagar <srinidhi.kasagar at stericsson.com>
> CC: Russell King - ARM Linux <linux at arm.linux.org.uk>
> CC: Vista Silicon <javier.martin at vista-silicon.com>
> CC: Zhangfei Gao <zhangfei.gao at marvell.com>
> CC: Shawn Guo <shawn.guo at linaro.org>
> CC: Laxman Dewangan <ldewangan at nvidia.com>
> ---
...
>  drivers/dma/imx-dma.c         | 2 +-
>  drivers/dma/imx-sdma.c        | 2 +-
...
>  drivers/dma/mxs-dma.c         | 2 +-

Acked-by: Shawn Guo <shawn.guo at linaro.org>




More information about the linux-arm-kernel mailing list