linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] dma: ste_dma40: Convert to the late system PM callbacks
@ 2014-05-07  9:03 Ulf Hansson
  2014-05-07 10:02 ` Vinod Koul
  0 siblings, 1 reply; 2+ messages in thread
From: Ulf Hansson @ 2014-05-07  9:03 UTC (permalink / raw)
  To: linux-arm-kernel

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>
---
 drivers/dma/ste_dma40.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] dma: ste_dma40: Convert to the late system PM callbacks
  2014-05-07  9:03 [PATCH] dma: ste_dma40: Convert to the late system PM callbacks Ulf Hansson
@ 2014-05-07 10:02 ` Vinod Koul
  0 siblings, 0 replies; 2+ messages in thread
From: Vinod Koul @ 2014-05-07 10:02 UTC (permalink / raw)
  To: linux-arm-kernel

On Wed, May 07, 2014 at 11:03:57AM +0200, Ulf Hansson wrote:
> 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

-- 
~Vinod
> 
> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
> ---
>  drivers/dma/ste_dma40.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> 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)
> -- 
> 1.7.9.5
> 

-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-07 10:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07  9:03 [PATCH] dma: ste_dma40: Convert to the late system PM callbacks Ulf Hansson
2014-05-07 10:02 ` Vinod Koul

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).