diff options
author | Tomasz Figa <t.figa@samsung.com> | 2014-03-17 23:28:09 +0100 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-03-20 20:04:42 +0100 |
commit | 61557b8bac9c80a5c14d237d420c246703e5c2e2 (patch) | |
tree | 8d6ea839f96309abd1f453896f8ec7a46af7fdaf /arch/arm/plat-samsung/include/plat/cpu.h | |
parent | Merge branch 'v3.15-next/cleanup-samsung-2' into v3.15-next/s2r-pm-samsung-2 (diff) | |
download | linux-61557b8bac9c80a5c14d237d420c246703e5c2e2.tar.xz linux-61557b8bac9c80a5c14d237d420c246703e5c2e2.zip |
ARM: EXYNOS: Do not resume l2x0 if not enabled before suspend
Trying to resume l2x0 if it was not enabled before suspend leads to
system crash. This patch prevents this by checking if l2x0_regs_phys is
a valid pointer to l2x0 context data saved on initialization.
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/cpu.h')
0 files changed, 0 insertions, 0 deletions