mirror of https://gitee.com/openkylin/linux.git
ARM: omap3: cpuidle: enable time keeping
The TIME_VALID flag is specified for the different states but the time residency computation is not done, no tk flag, no time computation in the idle function. Set the en_core_tk_irqen flag to activate it. Cc: stable@vger.kernel.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Kevin Hilman <khilman@linaro.org>
This commit is contained in:
parent
f69e44b205
commit
0d97558901
|
@ -274,8 +274,9 @@ static int omap3_enter_idle_bm(struct cpuidle_device *dev,
|
||||||
static DEFINE_PER_CPU(struct cpuidle_device, omap3_idle_dev);
|
static DEFINE_PER_CPU(struct cpuidle_device, omap3_idle_dev);
|
||||||
|
|
||||||
static struct cpuidle_driver omap3_idle_driver = {
|
static struct cpuidle_driver omap3_idle_driver = {
|
||||||
.name = "omap3_idle",
|
.name = "omap3_idle",
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
|
.en_core_tk_irqen = 1,
|
||||||
.states = {
|
.states = {
|
||||||
{
|
{
|
||||||
.enter = omap3_enter_idle_bm,
|
.enter = omap3_enter_idle_bm,
|
||||||
|
|
Loading…
Reference in New Issue