ARM: shmobile: r8a7791: Support Core-Standby for Suspend to RAM
authorkeita kobayashi <keita.kobayashi.ym@renesas.com>
Thu, 29 May 2014 07:24:52 +0000 (16:24 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:51 +0000 (11:15 +0100)
Add r8a7791 Core-Standby state for Suspend to RAM support.

Signed-off-by: Keita Kobayashi <keita.kobayashi.ym@renesas.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 7f6234013a835476f1503be2c9287f1fe3497457)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/smp-r8a7791.c

index 17720860f0dd3de4489bc2ec5b649678b14112e8..c6543b6ec75995597fa79997454ff4eb53e11f9c 100644 (file)
@@ -52,6 +52,7 @@ static void __init r8a7791_smp_prepare_cpus(unsigned int max_cpus)
        iounmap(p);
 
        r8a7791_pm_init();
+       shmobile_smp_apmu_suspend_init();
 }
 
 static int r8a7791_smp_boot_secondary(unsigned int cpu,