projects
/
platform
/
kernel
/
linux-exynos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbd6511
)
ARM: EXYNOS: firmware: add workaround code for suspend/resume
author
Joonyoung Shim
<jy0922.shim@samsung.com>
Thu, 17 Nov 2016 07:43:31 +0000
(16:43 +0900)
committer
Junghoon Kim
<jhoon20.kim@samsung.com>
Thu, 14 Feb 2019 05:58:19 +0000
(14:58 +0900)
This comes from S.LSI kernel.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: Id5b57259de9ad09d5ad712ed19ad47713f045dea
arch/arm/mach-exynos/firmware.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-exynos/firmware.c
b/arch/arm/mach-exynos/firmware.c
index
1d69de4
..
5b00030
100644
(file)
--- a/
arch/arm/mach-exynos/firmware.c
+++ b/
arch/arm/mach-exynos/firmware.c
@@
-118,6
+118,9
@@
static int exynos_cpu_suspend(unsigned long arg)
flush_cache_all();
outer_flush_all();
+ /* FIXME */
+ exynos_smc(-101, ((0x1 << 30) | ((0x02020028) >> 2)), 0, 0);
+
exynos_smc(SMC_CMD_SLEEP, 0, 0, 0);
pr_info("Failed to suspend the system\n");