diff options
author | 2017-06-06 13:49:29 +0100 | |
---|---|---|
committer | 2017-06-30 11:13:44 +0530 | |
commit | 65a5c3dd3e11225a0d0e0df97d23fa64ab2d4ed2 (patch) | |
tree | 73aeba4d3b819765f5a917eb8ff836b915a141fe /tools/perf/scripts/python/export-to-postgresql.py | |
parent | dmaengine: fsl_raid: make of_device_ids const. (diff) | |
download | wireguard-linux-65a5c3dd3e11225a0d0e0df97d23fa64ab2d4ed2.tar.xz wireguard-linux-65a5c3dd3e11225a0d0e0df97d23fa64ab2d4ed2.zip |
dmaengine: tegra-apb: Really fix runtime-pm usage
Commit edd3bdbe9db1 ("dmaengine: tegra-apb: Correct runtime-pm usage")
added pm_runtime_get/put() calls to the tegra-apb DMA system suspend
callbacks. Runtime PM is disabled during system suspend and so these
APIs cannot be used. Fix the suspend handling for the tegra-apb DMA by
moving the save and restore of the DMA register context into the
runtime PM suspend and resume callbacks, and then use the
pm_runtime_force_suspend/resume() APIs to invoke the runtime PM
callbacks during system suspend.
Fixes: edd3bdbe9db1 ("dmaengine: tegra-apb: Correct runtime-pm usage")
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions