dmaengine: qcom-bam-dma: Add pm_runtime support
authorPramod Gurav <pramod.gurav@linaro.org>
Fri, 17 Jun 2016 10:26:03 +0000 (15:56 +0530)
committerVinod Koul <vinod.koul@intel.com>
Thu, 30 Jun 2016 04:35:56 +0000 (10:05 +0530)
commit7d2545599f5b09ccf6cdcab9ced58644a9cd038e
tree799a0b18f5604d15240d5a5969a7d56374620144
parent1a695a905c18548062509178b98bc91e67510864
dmaengine: qcom-bam-dma: Add pm_runtime support

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 <pramod.gurav@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom/bam_dma.c