dma: ste_dma40: Convert to the late system PM callbacks
authorUlf Hansson <ulf.hansson@linaro.org>
Wed, 7 May 2014 09:03:57 +0000 (11:03 +0200)
committerVinod Koul <vinod.koul@intel.com>
Wed, 7 May 2014 10:02:07 +0000 (15:32 +0530)
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>
drivers/dma/ste_dma40.c

index b539fc9b469a70d01751b97f7d460914fe9010f7..c7984459ede76bb1dd50b00f55c639d2d88ff741 100644 (file)
@@ -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)
This page took 0.027589 seconds and 5 git commands to generate.