public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic
@ 2009-05-20 12:26 Roger Quadros
  2009-05-20 14:09 ` Kevin Hilman
  0 siblings, 1 reply; 2+ messages in thread
From: Roger Quadros @ 2009-05-20 12:26 UTC (permalink / raw)
  To: khilman; +Cc: linux-omap

Use l3_ick clock rate to find out current VDD2 OPP since
VDD2 OPP table uses rates corresponding to L3 clock.

Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>
---
 arch/arm/mach-omap2/smartreflex.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c
index 061cd4e..422c917 100644
--- a/arch/arm/mach-omap2/smartreflex.c
+++ b/arch/arm/mach-omap2/smartreflex.c
@@ -184,7 +184,7 @@ static u16 get_vdd2_opp(void)
 	u16 opp;
 	struct clk *clk;
 
-	clk = clk_get(NULL, "dpll3_m2_ck");
+	clk = clk_get(NULL, "l3_ick");
 
 	if (clk == NULL || IS_ERR(clk) || l3_opps == NULL)
 		return 0;
-- 
1.6.0.4


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

* Re: [PATCH] OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic
  2009-05-20 12:26 [PATCH] OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic Roger Quadros
@ 2009-05-20 14:09 ` Kevin Hilman
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2009-05-20 14:09 UTC (permalink / raw)
  To: Roger Quadros; +Cc: linux-omap

Roger Quadros <ext-roger.quadros@nokia.com> writes:

> Use l3_ick clock rate to find out current VDD2 OPP since
> VDD2 OPP table uses rates corresponding to L3 clock.
>
> Signed-off-by: Roger Quadros <ext-roger.quadros@nokia.com>

Thanks, pushed to PM branch.

Kevin

> ---
>  arch/arm/mach-omap2/smartreflex.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/smartreflex.c b/arch/arm/mach-omap2/smartreflex.c
> index 061cd4e..422c917 100644
> --- a/arch/arm/mach-omap2/smartreflex.c
> +++ b/arch/arm/mach-omap2/smartreflex.c
> @@ -184,7 +184,7 @@ static u16 get_vdd2_opp(void)
>  	u16 opp;
>  	struct clk *clk;
>  
> -	clk = clk_get(NULL, "dpll3_m2_ck");
> +	clk = clk_get(NULL, "l3_ick");
>  
>  	if (clk == NULL || IS_ERR(clk) || l3_opps == NULL)
>  		return 0;
> -- 
> 1.6.0.4

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

end of thread, other threads:[~2009-05-20 14:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-20 12:26 [PATCH] OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic Roger Quadros
2009-05-20 14:09 ` Kevin Hilman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox