diff options
author | Stratos Karafotis <stratosk@semaphore.gr> | 2013-02-08 12:24:18 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-02-09 06:56:19 -0500 |
commit | 06eb09d17c9092c96e55a4ab886018c5c844d312 (patch) | |
tree | 7444cf03cad5f17d49509f91028ef50233df4927 /drivers/cpufreq/cpufreq_ondemand.c | |
parent | 6ca939b3a304f82065985e66041e26366be65564 (diff) |
cpufreq: ondemand: Fix typos in comments
Fix some typos in comments.
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_ondemand.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_ondemand.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/cpufreq/cpufreq_ondemand.c b/drivers/cpufreq/cpufreq_ondemand.c index 09b27ae6576f..f3eb26cd848f 100644 --- a/drivers/cpufreq/cpufreq_ondemand.c +++ b/drivers/cpufreq/cpufreq_ondemand.c | |||
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include "cpufreq_governor.h" | 27 | #include "cpufreq_governor.h" |
28 | 28 | ||
29 | /* On-demand governor macors */ | 29 | /* On-demand governor macros */ |
30 | #define DEF_FREQUENCY_DOWN_DIFFERENTIAL (10) | 30 | #define DEF_FREQUENCY_DOWN_DIFFERENTIAL (10) |
31 | #define DEF_FREQUENCY_UP_THRESHOLD (80) | 31 | #define DEF_FREQUENCY_UP_THRESHOLD (80) |
32 | #define DEF_SAMPLING_DOWN_FACTOR (1) | 32 | #define DEF_SAMPLING_DOWN_FACTOR (1) |
@@ -66,7 +66,7 @@ static void ondemand_powersave_bias_init_cpu(int cpu) | |||
66 | * efficient idling at a higher frequency/voltage is. | 66 | * efficient idling at a higher frequency/voltage is. |
67 | * Pavel Machek says this is not so for various generations of AMD and old | 67 | * Pavel Machek says this is not so for various generations of AMD and old |
68 | * Intel systems. | 68 | * Intel systems. |
69 | * Mike Chan (androidlcom) calis this is also not true for ARM. | 69 | * Mike Chan (android.com) claims this is also not true for ARM. |
70 | * Because of this, whitelist specific known (series) of CPUs by default, and | 70 | * Because of this, whitelist specific known (series) of CPUs by default, and |
71 | * leave all others up to the user. | 71 | * leave all others up to the user. |
72 | */ | 72 | */ |
@@ -74,7 +74,7 @@ static int should_io_be_busy(void) | |||
74 | { | 74 | { |
75 | #if defined(CONFIG_X86) | 75 | #if defined(CONFIG_X86) |
76 | /* | 76 | /* |
77 | * For Intel, Core 2 (model 15) andl later have an efficient idle. | 77 | * For Intel, Core 2 (model 15) and later have an efficient idle. |
78 | */ | 78 | */ |
79 | if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && | 79 | if (boot_cpu_data.x86_vendor == X86_VENDOR_INTEL && |
80 | boot_cpu_data.x86 == 6 && | 80 | boot_cpu_data.x86 == 6 && |
@@ -159,8 +159,8 @@ static void dbs_freq_increase(struct cpufreq_policy *p, unsigned int freq) | |||
159 | 159 | ||
160 | /* | 160 | /* |
161 | * Every sampling_rate, we check, if current idle time is less than 20% | 161 | * Every sampling_rate, we check, if current idle time is less than 20% |
162 | * (default), then we try to increase frequency Every sampling_rate, we look for | 162 | * (default), then we try to increase frequency. Every sampling_rate, we look |
163 | * a the lowest frequency which can sustain the load while keeping idle time | 163 | * for the lowest frequency which can sustain the load while keeping idle time |
164 | * over 30%. If such a frequency exist, we try to decrease to this frequency. | 164 | * over 30%. If such a frequency exist, we try to decrease to this frequency. |
165 | * | 165 | * |
166 | * Any frequency increase takes it to the maximum frequency. Frequency reduction | 166 | * Any frequency increase takes it to the maximum frequency. Frequency reduction |
@@ -267,7 +267,7 @@ static ssize_t show_sampling_rate_min(struct kobject *kobj, | |||
267 | * update_sampling_rate - update sampling rate effective immediately if needed. | 267 | * update_sampling_rate - update sampling rate effective immediately if needed. |
268 | * @new_rate: new sampling rate | 268 | * @new_rate: new sampling rate |
269 | * | 269 | * |
270 | * If new rate is smaller than the old, simply updaing | 270 | * If new rate is smaller than the old, simply updating |
271 | * dbs_tuners_int.sampling_rate might not be appropriate. For example, if the | 271 | * dbs_tuners_int.sampling_rate might not be appropriate. For example, if the |
272 | * original sampling_rate was 1 second and the requested new sampling rate is 10 | 272 | * original sampling_rate was 1 second and the requested new sampling rate is 10 |
273 | * ms because the user needs immediate reaction from ondemand governor, but not | 273 | * ms because the user needs immediate reaction from ondemand governor, but not |