diff options
author | Tomasz Figa <[email protected]> | 2014-03-18 07:28:09 +0900 |
---|---|---|
committer | Kukjin Kim <[email protected]> | 2014-03-21 04:04:42 +0900 |
commit | 61557b8bac9c80a5c14d237d420c246703e5c2e2 (patch) | |
tree | 8d6ea839f96309abd1f453896f8ec7a46af7fdaf /lib/test-string_helpers.c | |
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 <[email protected]>
Acked-by: Kyungmin Park <[email protected]>
Signed-off-by: Kukjin Kim <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions