diff options
author | Yuan Yao <yao.yuan@freescale.com> | 2015-10-30 12:03:58 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2015-12-05 11:22:13 +0100 |
commit | 82d149b86d31e11fbbbc1b850bebffe1bfa2e82d (patch) | |
tree | 3bc59649da8746c2027d572d6d97035a4d67d820 /drivers/dma/img-mdc-dma.c | |
parent | dmaengine: hsu: speed up residue calculation (diff) | |
download | linux-82d149b86d31e11fbbbc1b850bebffe1bfa2e82d.tar.xz linux-82d149b86d31e11fbbbc1b850bebffe1bfa2e82d.zip |
dmaengine: fsl-edma: add PM suspend/resume support
This add power management suspend/resume support for the fsl-edma
driver.
eDMA acted as a basic function used by others. What it needs to do
is the two steps below to support power management.
In fsl_edma_suspend_late:
Check whether the DMA chan is idle, if it is not idle disable DMA
request.
In fsl_edma_resume_early:
Enable the eDMA and wait for being used.
Signed-off-by: Yuan Yao <yao.yuan@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/img-mdc-dma.c')
0 files changed, 0 insertions, 0 deletions