summaryrefslogtreecommitdiffstats
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@linaro.org>2014-05-07 11:03:57 +0200
committerVinod Koul <vinod.koul@intel.com>2014-05-07 15:32:07 +0530
commit673d377345d69464929a1a70c778be830fa58143 (patch)
tree391e7c48dbe504be5743d3f57eee3271390c4075 /drivers/dma/ste_dma40.c
parent1b38da264674d6a0fe26a63996b8f88b88c3da48 (diff)
downloadop-kernel-dev-673d377345d69464929a1a70c778be830fa58143.zip
op-kernel-dev-673d377345d69464929a1a70c778be830fa58143.tar.gz
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: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
-rw-r--r--drivers/dma/ste_dma40.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dma/ste_dma40.c b/drivers/dma/ste_dma40.c
index b539fc9..c798445 100644
--- a/drivers/dma/ste_dma40.c
+++ b/drivers/dma/ste_dma40.c
@@ -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)
OpenPOWER on IntegriCloud