]> 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)
commit7654dac60a9ad602acf1daf88a0174aa2c6f34c6
tree9834e5a9c0b2096766cd31440333c8678b254b0d
parent5b25b034c71697136e599124b7a31e91b5824df3
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