]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
ARM: EXYNOS: skip pm support on exynos5440
authorKukjin Kim <kgene.kim@samsung.com>
Wed, 26 Jun 2013 13:29:44 +0000 (22:29 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Tue, 16 Jul 2013 03:29:40 +0000 (12:29 +0900)
EXYNOS5440 doesn't support PM and current single image for EXYNOS
will be break without this patch. Actually, SSDK5440 cannot boot
without this so this should be merged during rc.

Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/mach-exynos/pm.c

index 41c20692a13f0f189c1acaf011831048b6944a0a..c679db57726934de2f0338fadbbda0be05e49e74 100644 (file)
@@ -217,6 +217,9 @@ static __init int exynos_pm_drvinit(void)
        struct clk *pll_base;
        unsigned int tmp;
 
+       if (soc_is_exynos5440())
+               return 0;
+
        s3c_pm_init();
 
        /* All wakeup disable */
@@ -340,6 +343,9 @@ static struct syscore_ops exynos_pm_syscore_ops = {
 
 static __init int exynos_pm_syscore_init(void)
 {
+       if (soc_is_exynos5440())
+               return 0;
+
        register_syscore_ops(&exynos_pm_syscore_ops);
        return 0;
 }