diff options
author | Tomasz Figa <[email protected]> | 2014-08-05 14:43:10 +0200 |
---|---|---|
committer | Olof Johansson <[email protected]> | 2014-08-09 08:24:36 -0700 |
commit | 01601b349582caa617618b5fa7d9b08bd328626a (patch) | |
tree | 6d14f91842c5e9a49f257b38be94d5dbb647f7b5 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | bb7aedff3f98c5b842f787f70d99370da197f76b (diff) |
ARM: EXYNOS: Fix suspend/resume sequences
Due to recent consolidation of Exynos suspend and cpuidle code, some
parts of suspend and resume sequences are executed two times, once from
exynos_pm_syscore_ops and then from exynos_cpu_pm_notifier() and thus it
breaks suspend, at least on Exynos4-based boards. In addition, simple
core power down from a cpuidle driver could, in case of CPU 0 could
result in calling functions that are specific to suspend and deeper idle
states.
This patch fixes the issue by moving those operations outside the CPU PM
notifier into suspend and AFTR code paths. This leads to a bit of code
duplication, but allows additional code simplification, so in the end
more code is removed than added.
Fixes: 85f9f90808b4 ("ARM: EXYNOS: Use the cpu_pm notifier for pm")
Cc: Kukjin Kim <[email protected]>
Cc: Arnd Bergmann <[email protected]>
Cc: Olof Johansson <[email protected]>
Cc: [email protected]
Signed-off-by: Tomasz Figa <[email protected]>
[b.zolnierkie: ported patch over current changes]
[b.zolnierkie: fixed exynos_aftr_finisher() return value]
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Signed-off-by: Olof Johansson <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions