Re: [PATCH v2 04/15] dmaengine: Pass no_wakeup parameter via device_prep_dma_cyclic()callback

From: Peter Ujfalusi
Date: Mon Sep 17 2012 - 03:16:00 EST


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@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/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
--
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/