]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/meta-ti-glsdk.git/blob - recipes-kernel/linux/linux-3.0/pm-wip/cpufreq/0009-OMAP2PLUS-cpufreq-Fix-typo-when-attempting-to-set-mp.patch
ca932245d6f4cf479d3d4c5b751123c7f6d59ae3
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / pm-wip / cpufreq / 0009-OMAP2PLUS-cpufreq-Fix-typo-when-attempting-to-set-mp.patch
1 From 0c43215efb0be9c948c70f6562f9a853f35dcb36 Mon Sep 17 00:00:00 2001
2 From: Jarkko Nikula <jhnikula@gmail.com>
3 Date: Thu, 14 Apr 2011 16:21:58 +0300
4 Subject: [PATCH 09/19] OMAP2PLUS: cpufreq: Fix typo when attempting to set mpu_clk for OMAP4
6 Fix this typo as there is no dpll_mpu_ck for OMAP3 and code flow is clearly
7 trying to set mpu_clk for OMAP4 for which this dpll_mpu_ck is available.
9 Signed-off-by: Jarkko Nikula <jhnikula@gmail.com>
10 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
11 ---
12  arch/arm/mach-omap2/omap2plus-cpufreq.c |    2 +-
13  1 files changed, 1 insertions(+), 1 deletions(-)
15 diff --git a/arch/arm/mach-omap2/omap2plus-cpufreq.c b/arch/arm/mach-omap2/omap2plus-cpufreq.c
16 index 3730f96..a725d90 100644
17 --- a/arch/arm/mach-omap2/omap2plus-cpufreq.c
18 +++ b/arch/arm/mach-omap2/omap2plus-cpufreq.c
19 @@ -161,7 +161,7 @@ static int __cpuinit omap_cpu_init(struct cpufreq_policy *policy)
20                 mpu_clk = clk_get(NULL, "virt_prcm_set");
21         else if (cpu_is_omap34xx())
22                 mpu_clk = clk_get(NULL, "dpll1_ck");
23 -       else if (cpu_is_omap34xx())
24 +       else if (cpu_is_omap44xx())
25                 mpu_clk = clk_get(NULL, "dpll_mpu_ck");
26  
27         if (IS_ERR(mpu_clk))
28 -- 
29 1.6.6.1