linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late
@ 2015-09-15 19:47 Dave Gerlach
  2015-09-17  0:02 ` Tony Lindgren
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Gerlach @ 2015-09-15 19:47 UTC (permalink / raw)
  To: linux-arm-kernel

Add omap2_clk_enable_autoidle_all to am43xx_init_late otherwise the call
to omap2_clk_disable_autoidle_all in am43xx_init_early may cause some
clocks to always stay active and prevent low power mode transitions.

Signed-off-by: Dave Gerlach <d-gerlach@ti.com>
---
 arch/arm/mach-omap2/io.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
index 980c937..3eaeaca 100644
--- a/arch/arm/mach-omap2/io.c
+++ b/arch/arm/mach-omap2/io.c
@@ -676,6 +676,7 @@ void __init am43xx_init_early(void)
 void __init am43xx_init_late(void)
 {
 	omap_common_late_init();
+	omap2_clk_enable_autoidle_all();
 }
 #endif
 
-- 
2.4.6

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

* [PATCH] ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late
  2015-09-15 19:47 [PATCH] ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late Dave Gerlach
@ 2015-09-17  0:02 ` Tony Lindgren
  0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2015-09-17  0:02 UTC (permalink / raw)
  To: linux-arm-kernel

* Dave Gerlach <d-gerlach@ti.com> [150915 12:51]:
> Add omap2_clk_enable_autoidle_all to am43xx_init_late otherwise the call
> to omap2_clk_disable_autoidle_all in am43xx_init_early may cause some
> clocks to always stay active and prevent low power mode transitions.
> 
> Signed-off-by: Dave Gerlach <d-gerlach@ti.com>

Applying into omap-for-v4.3/fixes thanks.

Tony

> ---
>  arch/arm/mach-omap2/io.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/mach-omap2/io.c b/arch/arm/mach-omap2/io.c
> index 980c937..3eaeaca 100644
> --- a/arch/arm/mach-omap2/io.c
> +++ b/arch/arm/mach-omap2/io.c
> @@ -676,6 +676,7 @@ void __init am43xx_init_early(void)
>  void __init am43xx_init_late(void)
>  {
>  	omap_common_late_init();
> +	omap2_clk_enable_autoidle_all();
>  }
>  #endif
>  
> -- 
> 2.4.6
> 

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

end of thread, other threads:[~2015-09-17  0:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-15 19:47 [PATCH] ARM: OMAP2+: AM43XX: Enable autoidle for clks in am43xx_init_late Dave Gerlach
2015-09-17  0:02 ` Tony Lindgren

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