]> git.karo-electronics.de Git - mv-sheeva.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)
commit91c1c9e36d9450974c9f04cf961d0b45aafca507
tree9834e5a9c0b2096766cd31440333c8678b254b0d
parent7f99a4216d68f6d75d5d544aa265d72f193bad7f
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