summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTomasz Figa <t.figa@samsung.com>2013-06-05 17:40:11 +0200
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:43:25 +0900
commit53fa1a17a7543d9b334be57bcace66bed141450c (patch)
treebbfc90c9d103151f4f83543aa67917b7446fa69f /arch
parent7a9e6187251b09efed7922de9b8034a6e8f88343 (diff)
downloadlinux-3.10-53fa1a17a7543d9b334be57bcace66bed141450c.tar.gz
linux-3.10-53fa1a17a7543d9b334be57bcace66bed141450c.tar.bz2
linux-3.10-53fa1a17a7543d9b334be57bcace66bed141450c.zip
ARM: EXYNOS: pm: Add support for firmware-based L2X0 resume
Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-exynos/pm.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/pm.c b/arch/arm/mach-exynos/pm.c
index e46ac764922..d5bac0da160 100644
--- a/arch/arm/mach-exynos/pm.c
+++ b/arch/arm/mach-exynos/pm.c
@@ -21,6 +21,7 @@
#include <linux/clk.h>
#include <asm/cacheflush.h>
+#include <asm/firmware.h>
#include <asm/hardware/cache-l2x0.h>
#include <asm/smp_scu.h>
@@ -273,7 +274,8 @@ static void exynos_pm_resume(void)
{
unsigned long tmp;
#ifdef CONFIG_CACHE_L2X0
- outer_resume();
+ if (call_firmware_op(l2x0_resume) < 0)
+ outer_resume();
#endif
/*
* If PMU failed while entering sleep mode, WFI will be