Re: [PATCH v3 7/9] dmaengine: dw: platform: power on device on shutdown

Vinod Koul
2015-12-08T17:22:29Z

On Fri, Dec 04, 2015 at 11:49:23PM +0200, Andy Shevchenko wrote:
> We have to call dw_dma_disable() to stop any ongoing transfer. On some
> platforms we can't do that since DMA device is powered off. Moreover we have no
> possibility at that point to check if the platform is affected or not. That's
> why we call pm_runtime_get_sync() / pm_runtime_put() unconditionally. On the
> other hand we can't use pm_runtime_suspended() because runtime PM framework is
> not fully used by the driver.

Acked-by: Vinod Koul <vinod.koul@intel.com>

--
~Vinod