]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: intel_mid_dma: move pm_runtime_put
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 31 Jan 2012 10:49:00 +0000 (12:49 +0200)
committerVinod Koul <vinod.koul@linux.intel.com>
Wed, 22 Feb 2012 12:41:48 +0000 (18:11 +0530)
commit524b8089cf686611d72c7803dd1daca79889c43c
tree9834e5a9c0b2096766cd31440333c8678b254b0d
parent142bb010d633dd6bd43bbceb573cbd8a1542e9e8
dmaengine: intel_mid_dma: move pm_runtime_put

Move pm_runtime_put() to the end of intel_mid_dma_free_chan_resources()
because there is no sense in allowing runtime suspend while the driver
is still accessing the device.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/intel_mid_dma.c