summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2015-12-05 00:49:23 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2016-01-07 16:11:53 +0300
commit3214658855c01a0dd62f02feb2ce79846524c6a0 (patch)
treeebdc7dcb47775806512ccd2ccb535be530c4e5f1 /net
parenteebb3e8d8aaf28f4bcaf12fd3645350bfd2f0b36 (diff)
downloadlinux-3214658855c01a0dd62f02feb2ce79846524c6a0.tar.xz
dmaengine: dw: platform: power on device on shutdown
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. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions