]> git.karo-electronics.de Git - linux-beck.git/commit
ARM: EXYNOS: Disable cpuidle for exynos5440
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 8 May 2014 21:52:59 +0000 (06:52 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 25 May 2014 20:21:08 +0000 (05:21 +0900)
commit70ecb842ba19d205a1e5d6c3de5656e1cb986284
tree6ba860407ba1eb78524f06525629f60ca631f100
parentdcef663d49e3beb09bc3cb436c997ce40aaf80fa
ARM: EXYNOS: Disable cpuidle for exynos5440

There is no point to register the cpuidle driver for the 5440 as it has only
one WFI state which is the default idle function when the cpuidle driver is
disabled.

By disabling cpuidle we prevent to enter to the governor computation for
nothing, thus saving a lot of processing time.

The only drawback is the statistic via sysfs on this state which is lost but
it is meaningless and it could be retrieved from the ftrace easily.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Amit Kucheria <amit.kucheria@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/cpuidle.c
arch/arm/mach-exynos/exynos.c