]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: Register cpuidle device only on exynos4210 and 5250
authorTomasz Figa <t.figa@samsung.com>
Thu, 10 Jul 2014 23:15:32 +0000 (08:15 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 10 Jul 2014 23:15:32 +0000 (08:15 +0900)
commit80cf9eeebe1d79e58ef57254c84632f77e6fec60
treeff0abef224a9eb4b91f4b6cd719eca67206f2a5a
parent94dfa6144e2328267056680ee8e0b7dd7201f543
ARM: EXYNOS: Register cpuidle device only on exynos4210 and 5250

Currently, the exynos cpuidle driver works correctly only on exynos4210
and 5250. Trying to use it with just one CPU online on any other exynos
SoCs will lead to system failure, due to unsupported AFTR mode on other
SoCs. This patch fixes the problem by registering the driver only on
supported SoCs and letting others simply use default WFI mode until
support for them is added.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/exynos.c