ARM: EXYNOS: apply S5P_CENTRAL_SEQ_OPTION fix only when necessary
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Sat, 24 Jan 2015 05:05:50 +0000 (14:05 +0900)
committerKukjin Kim <kgene@kernel.org>
Thu, 29 Jan 2015 23:38:52 +0000 (08:38 +0900)
commit865e8b76a04d018f23d809ebf735c52105e3adb2
tree17e4a12f8932e69b6c96feabf853e19203fee0b1
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672
ARM: EXYNOS: apply S5P_CENTRAL_SEQ_OPTION fix only when necessary

Commit c2dd114d2486 ("ARM: EXYNOS: fix register setup for AFTR mode
code") added S5P_CENTRAL_SEQ_OPTION register setup fix for all
Exynos SoCs to AFTR mode code-path.  It turned out that for coupled
cpuidle AFTR mode on Exynos4210 (added by the next patch) applying
this fix causes lockup so enable it in the AFTR mode code-path only
on SoCs that require it (in the suspend code-path it can be always
applied like it was before commit c2dd114d2486 ("ARM: EXYNOS: fix
register setup for AFTR mode code")

Cc: Daniel Lezcano <daniel.lezcano@linaro.org>
Cc: Colin Cross <ccross@google.com>
Cc: Tomasz Figa <tomasz.figa@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Kukjin Kim <kgene@kernel.org>
arch/arm/mach-exynos/pm.c
arch/arm/mach-exynos/suspend.c