Message ID | 1302787318-6650-1-git-send-email-jhnikula@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On 4/14/2011 6:51 PM, Jarkko Nikula wrote: > Fix this typo as there is no dpll_mpu_ck for OMAP3 and code flow is clearly > trying to set mpu_clk for OMAP4 for which this dpll_mpu_ck is available. > > Signed-off-by: Jarkko Nikula<jhnikula@gmail.com> > --- > arch/arm/mach-omap2/omap2plus-cpufreq.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/omap2plus-cpufreq.c b/arch/arm/mach-omap2/omap2plus-cpufreq.c > index 8d472f6..d53ce23 100644 > --- a/arch/arm/mach-omap2/omap2plus-cpufreq.c > +++ b/arch/arm/mach-omap2/omap2plus-cpufreq.c > @@ -161,7 +161,7 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy) > mpu_clk = clk_get(NULL, "virt_prcm_set"); > else if (cpu_is_omap34xx()) > mpu_clk = clk_get(NULL, "dpll1_ck"); > - else if (cpu_is_omap34xx()) > + else if (cpu_is_omap44xx()) My Bad :( Thanks Jarkko for finding this. Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> -- 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 --git a/arch/arm/mach-omap2/omap2plus-cpufreq.c b/arch/arm/mach-omap2/omap2plus-cpufreq.c index 8d472f6..d53ce23 100644 --- a/arch/arm/mach-omap2/omap2plus-cpufreq.c +++ b/arch/arm/mach-omap2/omap2plus-cpufreq.c @@ -161,7 +161,7 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy) mpu_clk = clk_get(NULL, "virt_prcm_set"); else if (cpu_is_omap34xx()) mpu_clk = clk_get(NULL, "dpll1_ck"); - else if (cpu_is_omap34xx()) + else if (cpu_is_omap44xx()) mpu_clk = clk_get(NULL, "dpll_mpu_ck"); if (IS_ERR(mpu_clk))
Fix this typo as there is no dpll_mpu_ck for OMAP3 and code flow is clearly trying to set mpu_clk for OMAP4 for which this dpll_mpu_ck is available. Signed-off-by: Jarkko Nikula <jhnikula@gmail.com> --- arch/arm/mach-omap2/omap2plus-cpufreq.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)