dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.
authorChew, Chiau Ee <chiau.ee.chew@intel.com>
Fri, 14 Mar 2014 18:02:39 +0000 (02:02 +0800)
committerVinod Koul <vinod.koul@intel.com>
Wed, 26 Mar 2014 06:22:03 +0000 (11:52 +0530)
commit4501fe61b286e35be5b372a4f1ffcf5881ceeaed
tree6f00ea53d3e504b8538032937464bce50a7473d6
parent000871ce0336572f5b126a4d7f1ec13fc9adfda2
dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

This is to disable/enable DW_DMAC hw during late suspend/early resume.
Since DMA is providing service to other clients (eg: SPI, HSUART),
we need to ensure DMA suspends after the clients and resume
before the clients are active.

Signed-off-by: Chew, Chiau Ee <chiau.ee.chew@intel.com>
Acked-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dw/pci.c