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@xxxxxxxxx> --- 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@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html