Re: [PATCH v3 04/15] dmaengine: Pass flags viadevice_prep_dma_cyclic() callback

From: Shawn Guo
Date: Tue Sep 18 2012 - 22:22:06 EST


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@xxxxxx>
> CC: Nicolas Ferre <nicolas.ferre@xxxxxxxxx>
> CC: Barry Song <baohua.song@xxxxxxx>
> CC: Srinidhi Kasagar <srinidhi.kasagar@xxxxxxxxxxxxxx>
> CC: Russell King - ARM Linux <linux@xxxxxxxxxxxxxxxx>
> CC: Vista Silicon <javier.martin@xxxxxxxxxxxxxxxxx>
> CC: Zhangfei Gao <zhangfei.gao@xxxxxxxxxxx>
> CC: Shawn Guo <shawn.guo@xxxxxxxxxx>
> CC: Laxman Dewangan <ldewangan@xxxxxxxxxx>
> ---
...
> drivers/dma/imx-dma.c | 2 +-
> drivers/dma/imx-sdma.c | 2 +-
...
> drivers/dma/mxs-dma.c | 2 +-

Acked-by: Shawn Guo <shawn.guo@xxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/