Messages in this thread | | | Date | Wed, 07 Aug 2013 12:30:10 +0100 | From | Sudeep KarkadaNagesha <> | Subject | Re: [PATCH] cpufreq: exynos5440: Fix to skip when new frequency same as current |
| |
On 07/08/13 12:22, Viresh Kumar wrote: > On 7 August 2013 16:46, Amit Daniel Kachhap <amit.daniel@samsung.com> wrote: >> This patch fixes the issue of un-necessary setting the clock controller >> when the new target frequency is same as the current one. This case usually >> occurs with governors like ondemand which passes the target frequency as the >> percentage of average frequency. This check is present in most of the cpufreq >> driver. >> >> Cc: Viresh Kumar <viresh.kumar@linaro.org> >> Cc: Rafael J. Wysocki <rjw@sisk.pl> >> Cc: Kukjin Kim <kgene.kim@samsung.com> >> Signed-off-by: Amit Daniel Kachhap <amit.daniel@samsung.com> >> --- >> drivers/cpufreq/exynos5440-cpufreq.c | 3 +++ >> 1 files changed, 3 insertions(+), 0 deletions(-) > > Applied. Hi Viresh,
Any particular reason we need this check in all drivers after your commit: 5a1c0228 "cpufreq: Avoid calling cpufreq driver's target() routine if target_freq == policy->cur"
I think it can removed from all drivers, am I missing something ?
Regards, Sudeep
| |