]> 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)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:10:14 +0000 (14:10 +0200)
commitbd986fe6144dd9b9ec5fe4ecae519339eb1ddc68
tree93b7eeb089d5e08d4b1f337c4e5a7e0e84c23a76
parent02293fbbe99014810dcd1672d2b07bee7732f825
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