[alsa-devel] [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic() callback
Peter Ujfalusi
peter.ujfalusi at ti.com
Mon Sep 17 09:16:53 CEST 2012
On 09/17/2012 09:34 AM, Shawn Guo wrote:
> On Thu, Sep 13, 2012 at 04:37:54PM +0300, Peter Ujfalusi wrote:
>> Change the parameter list of device_prep_dma_cyclic() so the DMA drivers
>> can receive the no_wakeup request coming from client drivers.
>> This feature can be used during audio operation to disable all audio
>> related interrupts.
>>
>> 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/at_hdmac.c | 3 ++-
>> drivers/dma/ep93xx_dma.c | 4 +++-
>> drivers/dma/imx-dma.c | 2 +-
>> drivers/dma/imx-sdma.c | 2 +-
>> drivers/dma/mmp_tdma.c | 2 +-
>> drivers/dma/mxs-dma.c | 2 +-
>> drivers/dma/omap-dma.c | 3 ++-
>> drivers/dma/pl330.c | 2 +-
>> drivers/dma/sa11x0-dma.c | 2 +-
>> drivers/dma/sirf-dma.c | 2 +-
>> drivers/dma/ste_dma40.c | 3 ++-
>> drivers/dma/tegra20-apb-dma.c | 2 +-
>> include/linux/dmaengine.h | 5 +++--
>> 13 files changed, 20 insertions(+), 14 deletions(-)
>>
> API changes without updating users?
All users of this callback is updated with this patch.
The public API (dmaengine_prep_dma_cyclic) is only used by ASoC, which has
been updated by the previous patch.
Note: this part has been updated for v3.
--
Péter
More information about the Alsa-devel
mailing list