[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1400054637-21505-6-git-send-email-chander.kashyap@linaro.org>
Date: Wed, 14 May 2014 13:33:56 +0530
From: Chander Kashyap <chander.kashyap@...aro.org>
To: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-samsung-soc@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org
Cc: daniel.lezcano@...aro.org, lorenzo.pieralisi@....com,
rjw@...ysocki.net, kgene.kim@...sung.com,
Chander Kashyap <chander.kashyap@...aro.org>,
Chander Kashyap <k.chander@...sung.com>
Subject: [PATCH v5 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420
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>
Acked-by: Daniel Lezcano <daniel.lezcano@...aro.org>
---
arch/arm/mach-exynos/cpuidle.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/arm/mach-exynos/cpuidle.c b/arch/arm/mach-exynos/cpuidle.c
index 3dd385e..807a386 100644
--- a/arch/arm/mach-exynos/cpuidle.c
+++ b/arch/arm/mach-exynos/cpuidle.c
@@ -218,6 +218,9 @@ static int exynos_cpuidle_probe(struct platform_device *pdev)
int cpu_id, ret;
struct cpuidle_device *device;
+ if (soc_is_exynos5420())
+ return -ENODEV;
+
if (soc_is_exynos5250())
exynos5_core_down_clk();
--
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