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

From: Vinod Koul
Date: Wed Mar 26 2014 - 02:29:54 EST


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

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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/