[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1402914383-20471-6-git-send-email-k.chander@samsung.com>
Date: Mon, 16 Jun 2014 15:56:22 +0530
From: Chander Kashyap <k.chander@...sung.com>
To: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org, daniel.lezcano@...aro.org,
lorenzo.pieralisi@....com, rjw@...ysocki.net,
kgene.kim@...sung.com, tomasz.figa@...il.com,
Chander Kashyap <chander.kashyap@...aro.org>,
Chander Kashyap <k.chander@...sung.com>
Subject: [Patch v7 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420
From: Chander Kashyap <chander.kashyap@...aro.org>
Exynos5420 is big.Little Soc. It uses cpuidle-big-litle generic cpuidle driver.
Hence do not allow exynos cpuidle driver registration for Exynos5420.
Signed-off-by: Chander Kashyap <chander.kashyap@...aro.org>
Signed-off-by: Chander Kashyap <k.chander@...sung.com>
Reviewed-by: Tomasz Figa <t.figa@...sung.com>
Acked-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
Changes in v6:
1. Move cpuidle registration check to exynos.c from cpuidle.c and
use "samsung,exynos5420" compatible string to avvoid registration
arch/arm/mach-exynos/exynos.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index 90aab4d..f4c08d6 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -271,7 +271,9 @@ static void __init exynos_dt_machine_init(void)
}
}
- exynos_cpuidle_init();
+ if (!of_machine_is_compatible("samsung,exynos5420"))
+ exynos_cpuidle_init();
+
exynos_cpufreq_init();
of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL);
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists