OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic
Subsystems (3)
PATCH 1/1 OMAP3: PM: Smartreflex: Fix VDD2 OPP determining logic
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 <[email protected]>
--- arch/arm/mach-omap2/smartreflex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/mach-omap2/smartreflex.c +1 -1
@@ -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 ;
Signature · 1 line
1.6.0.4
Quoted 4 lines · Roger Quadros
Use
l3_ickclock rate to find out current VDD2 OPP since VDD2 OPP table uses rates corresponding to L3 clock.Signed-off-by Roger Quadros <[email protected]>
Thanks, pushed to PM branch.
Kevin
Quoted 19 lines
--- arch/arm/mach-omap2/smartreflex.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-omap2/smartreflex.c +1
-1@@ -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 ;Signature · 1 line
1.6.0.4