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

From: Vinod Koul
Date: Thu Sep 13 2012 - 23:27:22 EST


On Thu, 2012-09-13 at 16:37 +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.
We already have a flag to indicate this, see
* @DMA_PREP_INTERRUPT - trigger an interrupt (callback) upon completion of
* this transaction

Unfortunately, the addition of cyclic API missed having this flag. So
right way would be to add flag argument in the API.

--
~Vinod

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