diff options
author | Ulf Hansson <ulf.hansson@linaro.org> | 2019-12-05 17:37:45 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-12-10 09:08:56 +0300 |
commit | a39cddc9e3775100100a4272feed64faac831be9 (patch) | |
tree | 1e4bd10551a79f6cb58a22acbe502bddfabb9032 /block | |
parent | c64738d6810be367c977b25c8077dd1918666951 (diff) | |
download | linux-a39cddc9e3775100100a4272feed64faac831be9.tar.xz |
dmaengine: pl330: Drop boilerplate code for suspend/resume
Let's drop the boilerplate code in the system suspend/resume callbacks and
convert to use pm_runtime_force_suspend|resume(). This change also has a
nice side effect, as pm_runtime_force_resume() may decide to leave the
device in low power state, when that is feasible, thus avoiding to waste
both time and energy during system resume.
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Link: https://lore.kernel.org/r/20191205143746.24873-2-ulf.hansson@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions