dmaengine: cppi41: Prepare to add PM runtime support
authorTony Lindgren <tony@atomide.com>
Fri, 19 Aug 2016 22:59:39 +0000 (15:59 -0700)
committerVinod Koul <vinod.koul@intel.com>
Wed, 31 Aug 2016 04:52:19 +0000 (10:22 +0530)
commit670fc2a87013c3733868094c3ea115250398f2ea
treef82ba57d6020f215aaf1a6160233ee8e6b0f303e
parent29b4817d4018df78086157ea3a55c1d9424a7cfc
dmaengine: cppi41: Prepare to add PM runtime support

Let's just move code from cppi41_dma_issue_pending() to
push_desc_queue() as that's the only call to push_desc_queue().

We want to do this for PM runtime as we need to call push_desc_queue()
also for pending queued transfers from PM runtime resume.

No functional changes, just moves code around.

Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/cppi41.c