* [PATCH] thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync()
@ 2014-04-14 17:02 Geert Uytterhoeven
2014-05-15 8:48 ` Zhang Rui
0 siblings, 1 reply; 2+ messages in thread
From: Geert Uytterhoeven @ 2014-04-14 17:02 UTC (permalink / raw)
To: Zhang Rui, Eduardo Valentin
Cc: linux-pm, linux-sh, linux-kernel, Geert Uytterhoeven
From: Geert Uytterhoeven <geert+renesas@glider.be>
There's no need for this to be synchronous
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
drivers/thermal/rcar_thermal.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 5a37940b02c9..a8ed0e0265ae 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -470,7 +470,7 @@ error_unregister:
rcar_thermal_irq_disable(priv);
}
- pm_runtime_put_sync(dev);
+ pm_runtime_put(dev);
pm_runtime_disable(dev);
return ret;
@@ -488,7 +488,7 @@ static int rcar_thermal_remove(struct platform_device *pdev)
rcar_thermal_irq_disable(priv);
}
- pm_runtime_put_sync(dev);
+ pm_runtime_put(dev);
pm_runtime_disable(dev);
return 0;
--
1.7.9.5
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync()
2014-04-14 17:02 [PATCH] thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync() Geert Uytterhoeven
@ 2014-05-15 8:48 ` Zhang Rui
0 siblings, 0 replies; 2+ messages in thread
From: Zhang Rui @ 2014-05-15 8:48 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Eduardo Valentin, linux-pm, linux-sh, linux-kernel, Geert Uytterhoeven
On 一, 2014-04-14 at 19:02 +0200, Geert Uytterhoeven wrote:
> From: Geert Uytterhoeven <geert+renesas@glider.be>
>
> There's no need for this to be synchronous
>
> Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
applied.
thanks,
rui
> ---
> drivers/thermal/rcar_thermal.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
> index 5a37940b02c9..a8ed0e0265ae 100644
> --- a/drivers/thermal/rcar_thermal.c
> +++ b/drivers/thermal/rcar_thermal.c
> @@ -470,7 +470,7 @@ error_unregister:
> rcar_thermal_irq_disable(priv);
> }
>
> - pm_runtime_put_sync(dev);
> + pm_runtime_put(dev);
> pm_runtime_disable(dev);
>
> return ret;
> @@ -488,7 +488,7 @@ static int rcar_thermal_remove(struct platform_device *pdev)
> rcar_thermal_irq_disable(priv);
> }
>
> - pm_runtime_put_sync(dev);
> + pm_runtime_put(dev);
> pm_runtime_disable(dev);
>
> return 0;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-15 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-14 17:02 [PATCH] thermal: rcar: Use pm_runtime_put() i.s.o. pm_runtime_put_sync() Geert Uytterhoeven
2014-05-15 8:48 ` Zhang Rui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®