diff mbox

OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic

Message ID 1242822417-17829-1-git-send-email-ext-roger.quadros@nokia.com (mailing list archive)
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

Roger Quadros May 20, 2009, 12:26 p.m. UTC
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(-)

Comments

Kevin Hilman May 20, 2009, 2:09 p.m. UTC | #1
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
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

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;