From 22695ab6314083d9d045ce9276e9ae79eb889531 Mon Sep 17 00:00:00 2001 From: "tuukka.tikkanen@linaro.org" Date: Mon, 24 Feb 2014 08:29:32 +0200 Subject: [PATCH] cpuidle: Use actual state latency in menu governor Currently menu governor records the exit latency of the state it has chosen for the idle period. The stored latency value is then later used to calculate the actual length of the idle period. This value may however be incorrect, as the entered state may not be the one chosen by the governor. The entered state information is available, so we can use that to obtain the real exit latency. Signed-off-by: Tuukka Tikkanen Acked-by: Daniel Lezcano Signed-off-by: Rafael J. Wysocki --- Reading git-format-patch failed