diff options
author | Jon Hunter <jonathanh@nvidia.com> | 2017-06-06 13:49:29 +0100 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2017-06-30 11:13:44 +0530 |
commit | 65a5c3dd3e11225a0d0e0df97d23fa64ab2d4ed2 (patch) | |
tree | 73aeba4d3b819765f5a917eb8ff836b915a141fe /COPYING | |
parent | 5f54d3e869812ef288c63dff67848a7520979953 (diff) | |
download | linux-65a5c3dd3e11225a0d0e0df97d23fa64ab2d4ed2.tar.bz2 |
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 'COPYING')
0 files changed, 0 insertions, 0 deletions