]> git.baikalelectronics.ru Git - kernel.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)
commit94f7f7308e7d0292be69d90c0489c7fabde7e5f5
tree9a8bf5242d196fee7968d763b71ed5184b626b3a
parentaca9719d92d5a3e38ad830649dab6f67902fe04c
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