Skip to contentSkip to conversation

dma: ste_dma40: Convert to the late system PM callbacks

PATCH New Ulf Hansson 2 participants 2 messages May 7, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 drivers/dma/ste_dma40.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/ste_dma40.c +1 -1
index b539fc9..c798445 100644
@@ -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)
Signature · 1 line
1.7.9.5
Applied
#1 lore raw

PATCH 1/1 dma: ste_dma40: Convert to the late system PM callbacks

Quoted 2 lines · Ulf Hansson

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.

Applied, thanks

Signature · 1 line
~Vinod
Quoted 22 lines
---
 drivers/dma/ste_dma40.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/dma/ste_dma40.c +1 -1
index b539fc9..c798445 100644
@@ -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)
Signature · 1 line
1.7.9.5