dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.
authorChew, Chiau Ee <[email protected]>
Fri, 14 Mar 2014 18:02:39 +0000 (02:02 +0800)
committerVinod Koul <[email protected]>
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 <[email protected]>
Acked-by: Andy Shevchenko <[email protected]>
Acked-by: Viresh Kumar <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
drivers/dma/dw/pci.c