From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sudeep.KarkadaNagesha@arm.com (Sudeep KarkadaNagesha) Date: Wed, 07 Aug 2013 12:30:10 +0100 Subject: [PATCH] cpufreq: exynos5440: Fix to skip when new frequency same as current In-Reply-To: References: <1375874171-16951-1-git-send-email-amit.daniel@samsung.com> Message-ID: <52022FC2.2010109@arm.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On 07/08/13 12:22, Viresh Kumar wrote: > On 7 August 2013 16:46, Amit Daniel Kachhap 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 >> Cc: Rafael J. Wysocki >> Cc: Kukjin Kim >> Signed-off-by: Amit Daniel Kachhap >> --- >> 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