diff options
author | Stratos Karafotis <stratosk@semaphore.gr> | 2016-11-16 22:27:22 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-11-17 01:15:56 +0300 |
commit | 42d951c851f1d08bb12430a7e2e9f4657f7c395c (patch) | |
tree | aff92ec763a434184e92d94c0911b92f9ce4fd56 /drivers/cpufreq/cpufreq_conservative.c | |
parent | 00bfe05889e91b5112893b001e4a47b0a0f8bdd7 (diff) | |
download | linux-42d951c851f1d08bb12430a7e2e9f4657f7c395c.tar.xz |
cpufreq: conservative: Fix comment explaining frequency updates
The original comment about the frequency increase to maximum is wrong.
Both increase and decrease happen at steps.
Signed-off-by: Stratos Karafotis <stratosk@semaphore.gr>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_conservative.c')
-rw-r--r-- | drivers/cpufreq/cpufreq_conservative.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index a48b724768af..992f7c20760f 100644 --- a/drivers/cpufreq/cpufreq_conservative.c +++ b/drivers/cpufreq/cpufreq_conservative.c @@ -55,8 +55,8 @@ static inline unsigned int get_freq_step(struct cs_dbs_tuners *cs_tuners, * sampling_down_factor, we check, if current idle time is more than 80% * (default), then we try to decrease frequency * - * Any frequency increase takes it to the maximum frequency. Frequency reduction - * happens at minimum steps of 5% (default) of maximum frequency + * Frequency updates happen at minimum steps of 5% (default) of maximum + * frequency */ static unsigned int cs_dbs_update(struct cpufreq_policy *policy) { |