ARM: OMAP3: remove cpuidle_wrap_enter
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 12 Apr 2013 12:35:49 +0000 (12:35 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 21 Apr 2013 23:05:16 +0000 (01:05 +0200)
commit3dcb9f1b17879534c80ccbf62fd13156f83ef799
treefadb13d195e4f00b2ffe2d98f0ea064d0e1556e9
parent80d538b2754f1eed85296f0c7088f7157d543f89
ARM: OMAP3: remove cpuidle_wrap_enter

In a previous commit the en_core_tk_irqen flag has been added but we missed
the cpuidle_wrap_enter which was doing the job to measure the time for the
'omap3_enter_idle' function.

Actually, I don't see any reason to use this wrapper in the code. In the better
case, the time computation is not correctly done because of the different
operations done in omap3_enter_idle_bm which were not taken into account
before the en_core_tk_irqen flag was set.

As the time is reflected for the state overridden by the omap3_enter_idle_bm,
using the wrapper is pointless now, so removing it.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Acked-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
arch/arm/mach-omap2/cpuidle34xx.c
This page took 0.024456 seconds and 5 git commands to generate.