]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: EXYNOS: Move the power sequence call in the cpu_pm notifier
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 8 May 2014 21:55:12 +0000 (06:55 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Sun, 25 May 2014 20:21:08 +0000 (05:21 +0900)
commit4dcc9197a5cdfc81bcf480ef15ca80d863457cc5
tree20c5c6accf7376210a502e3edc75cf6a7ac657ec
parent7665ef25a07a055e5e1b60c2b490224abd04d957
ARM: EXYNOS: Move the power sequence call in the cpu_pm notifier

The code to initiate and exit the powerdown sequence is the same in
pm.c and cpuidle.c.

Let's split the common part in the pm.c and reuse it from the cpu_pm notifier.

That is one more step forward to make the cpuidle driver arch indenpendant.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/cpuidle.c
arch/arm/mach-exynos/pm.c