Re: [PATCH v4] dmaengine: qcom-bam-dma: Add pm_runtime support

2016-06-29 Thread Vinod Koul
On Fri, Jun 17, 2016 at 03:56:03PM +0530, Pramod Gurav wrote: > Adds pm_runtime support for BAM DMA so that clock is enabled only > when there is a transaction going on to help save power. Applied, thanks -- ~Vinod

[PATCH v4] dmaengine: qcom-bam-dma: Add pm_runtime support

2016-06-17 Thread Pramod Gurav
Adds pm_runtime support for BAM DMA so that clock is enabled only when there is a transaction going on to help save power. Signed-off-by: Pramod Gurav --- Changes in v3: - pm_runtime_get_sync returns < 0 on error hence chech for return < 0 - Move pm_runtime_get_sync/put in bam_start_dma - Tested