提交 673d3773 编写于 作者: U Ulf Hansson 提交者: Vinod Koul

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: NUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: NVinod Koul <vinod.koul@intel.com>
上级 1b38da26
...@@ -3051,7 +3051,7 @@ static int dma40_runtime_resume(struct device *dev) ...@@ -3051,7 +3051,7 @@ static int dma40_runtime_resume(struct device *dev)
#endif #endif
static const struct dev_pm_ops dma40_pm_ops = { 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, SET_PM_RUNTIME_PM_OPS(dma40_runtime_suspend,
dma40_runtime_resume, dma40_runtime_resume,
NULL) NULL)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册