Re: [PATCH v2] dma: dw: Add suspend and resume handling for PCI mode DW_DMAC.

Vinod Koul
2014-03-26T06:29:46Z

On Sat, Mar 15, 2014 at 02:02:39AM +0800, Chew Chiau Ee wrote:
> From: Chew, Chiau Ee <chiau.ee.chew@intel.com>
>
> 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>

Rather than bunch of ifdef, would make sense to provde a mcros in dmaengine core
to do so as we expect all dmaengine drivers to be late probe

Applied thanks

--
~Vinod