From: Stratos Karafotis Date: Wed, 16 Nov 2016 19:27:22 +0000 (+0200) Subject: cpufreq: conservative: Fix comment explaining frequency updates X-Git-Tag: v4.14-rc1~1641^2^3~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=42d951c851f1d08bb12430a7e2e9f4657f7c395c;p=platform%2Fkernel%2Flinux-rpi3.git 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 Signed-off-by: Rafael J. Wysocki --- diff --git a/drivers/cpufreq/cpufreq_conservative.c b/drivers/cpufreq/cpufreq_conservative.c index a48b724..992f7c2 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) {