]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor.
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Sun, 5 Feb 2012 07:48:44 +0000 (13:18 +0530)
committerKevin Hilman <khilman@ti.com>
Tue, 14 Feb 2012 18:59:26 +0000 (10:59 -0800)
commit03e4fd6eb25e6b46536ecdb0d1b7d33d46b15480
tree9a8bf5242d196fee7968d763b71ed5184b626b3a
parent6369fd41fc6075a547394d95608ca7ff0e878698
ARM: OMAP4: cpuidle: Fix the C-state reporting to cpuidle governor.

OMAP4 cpuidle driver is reporting the state requested by governor
rather than the actually attempted one.

This is obviously misleading sysfs and powertop cpuidle statistics.
Fix it so that stats are reported correctly.

Reported-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
[khilman@ti.com: minor changelog edits]
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/cpuidle44xx.c