commit | 61557b8bac9c80a5c14d237d420c246703e5c2e2 | [log] [tgz] |
---|---|---|
author | Tomasz Figa <t.figa@samsung.com> | Tue Mar 18 07:28:09 2014 +0900 |
committer | Kukjin Kim <kgene.kim@samsung.com> | Fri Mar 21 04:04:42 2014 +0900 |
tree | 8d6ea839f96309abd1f453896f8ec7a46af7fdaf | |
parent | 8460dc7f2777d564b4cf094721e9de6e6657e11c [diff] |
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>