diff options
Diffstat (limited to 'extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm-wip-cpufreq-fixes/0003-OMAP2-cpufreq-minor-comment-cleanup.patch')
-rw-r--r-- | extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm-wip-cpufreq-fixes/0003-OMAP2-cpufreq-minor-comment-cleanup.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm-wip-cpufreq-fixes/0003-OMAP2-cpufreq-minor-comment-cleanup.patch b/extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm-wip-cpufreq-fixes/0003-OMAP2-cpufreq-minor-comment-cleanup.patch new file mode 100644 index 00000000..4f4cdb14 --- /dev/null +++ b/extras/recipes-kernel/linux/linux-omap-2.6.39/pm/linux-omap-2.6.39-ti-pm-wip-cpufreq-fixes/0003-OMAP2-cpufreq-minor-comment-cleanup.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From aef7e862873e6125159a18d22a2e37b1fbab2153 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nishanth Menon <nm@ti.com> | ||
3 | Date: Thu, 12 May 2011 16:27:45 -0700 | ||
4 | Subject: [PATCH 3/6] OMAP2+: cpufreq: minor comment cleanup | ||
5 | |||
6 | this should probably get squashed in.. | ||
7 | |||
8 | Signed-off-by: Nishanth Menon <nm@ti.com> | ||
9 | Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> | ||
10 | --- | ||
11 | arch/arm/mach-omap2/omap2plus-cpufreq.c | 6 ++++-- | ||
12 | 1 files changed, 4 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/arch/arm/mach-omap2/omap2plus-cpufreq.c b/arch/arm/mach-omap2/omap2plus-cpufreq.c | ||
15 | index 6e3666a..45f1e9e 100644 | ||
16 | --- a/arch/arm/mach-omap2/omap2plus-cpufreq.c | ||
17 | +++ b/arch/arm/mach-omap2/omap2plus-cpufreq.c | ||
18 | @@ -84,8 +84,10 @@ static int omap_target(struct cpufreq_policy *policy, | ||
19 | if (is_smp() && (num_online_cpus() < NR_CPUS)) | ||
20 | return ret; | ||
21 | |||
22 | - /* Ensure desired rate is within allowed range. Some govenors | ||
23 | - * (ondemand) will just pass target_freq=0 to get the minimum. */ | ||
24 | + /* | ||
25 | + * Ensure desired rate is within allowed range. Some govenors | ||
26 | + * (ondemand) will just pass target_freq=0 to get the minimum. | ||
27 | + */ | ||
28 | if (target_freq < policy->min) | ||
29 | target_freq = policy->min; | ||
30 | if (target_freq > policy->max) | ||
31 | -- | ||
32 | 1.6.6.1 | ||
33 | |||