]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00163052: CPUFREQ does not report correct frequency
authorRanjani Vaidyanathan <ra5478@freescale.com>
Tue, 6 Dec 2011 18:27:18 +0000 (12:27 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:35 +0000 (08:33 +0200)
commit100319a86d16adc0bba99b3d4aa4696991a774e3
tree93b7eeb089d5e08d4b1f337c4e5a7e0e84c23a76
parentd9e764c094d3f2221968895bb52b79a2ca8e18fc
ENGR00163052: CPUFREQ does not report correct frequency

When DVFS_CORE is enabled, the following command reports incorrect frequency:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

Fix this by ensuring the CPUFREQ does not change the frequency
when DVFS_CORE is active. And DVFS-CORE informs CPUFREQ of the
change done to CPU frequency.

Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
arch/arm/plat-mxc/cpufreq.c
arch/arm/plat-mxc/dvfs_core.c