Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 673d3773 authored by Ulf Hansson's avatar Ulf Hansson Committed by Vinod Koul
Browse files

dma: ste_dma40: Convert to the late system PM callbacks



Clients may still be active in the early phase of system PM, thus we
need to move the suspend operations to the late system PM phase.

Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 1b38da26
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3051,7 +3051,7 @@ static int dma40_runtime_resume(struct device *dev)
#endif

static const struct dev_pm_ops dma40_pm_ops = {
	SET_SYSTEM_SLEEP_PM_OPS(dma40_suspend, dma40_resume)
	SET_LATE_SYSTEM_SLEEP_PM_OPS(dma40_suspend, dma40_resume)
	SET_PM_RUNTIME_PM_OPS(dma40_runtime_suspend,
				dma40_runtime_resume,
				NULL)