From patchwork Mon May 5 09:27:19 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 4113111 Return-Path: X-Original-To: patchwork-linux-samsung-soc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A8BF6C0ACC for ; Mon, 5 May 2014 09:28:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E66D52022D for ; Mon, 5 May 2014 09:28:31 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 18F582024F for ; Mon, 5 May 2014 09:28:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756001AbaEEJ17 (ORCPT ); Mon, 5 May 2014 05:27:59 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:48607 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755950AbaEEJ1w (ORCPT ); Mon, 5 May 2014 05:27:52 -0400 Received: by mail-pa0-f53.google.com with SMTP id kp14so4519957pab.26 for ; Mon, 05 May 2014 02:27:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=zpjLIX5DFmC7t9a8cC0q8z5ay/R36FfbuLd+D9aJQ0Y=; b=SGj79qzcX0rIRjhQSgSMeuez8aiZF5vLgsCZU3c6RlGFOPMGxhOFM9yt1S/qQQd39K z20FvqBibVQ2UcN3/HAxm0gWpdcsMhPETKKDkfABcptw0HyXlcZ22LqLc4ZPeOWuMlsT g/UKL8WgClzJmTRZbb6L98NbtbmIQyD4rRw3DSPKWlVRFj+FqGJNSLI/g7lG4UzSYhBY 20OIRnGFsOVgg9+fOB5orhPYy7sFp3xJZlGG/N1OJy0hOaDLdT10QarVPwRnouUD5pIi mC9etynVk+SRS2hU1gfazt779UVHr192VC8TILr3Cwd1+rxuKqYlLvdxbvxEPuq2Kuwk XNXA== X-Gm-Message-State: ALoCoQkOPIfVIj8+GbEWjw1STgDyrZFKwOxXPQR+hC6HV7Sgt/IT7njEeJRYLNibhzQp5cspfiQ3 X-Received: by 10.66.141.165 with SMTP id rp5mr70473233pab.90.1399282071882; Mon, 05 May 2014 02:27:51 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id ry10sm67210414pab.38.2014.05.05.02.27.47 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:27:51 -0700 (PDT) From: Chander Kashyap To: linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: lorenzo.pieralisi@arm.com, daniel.lezcano@linaro.org, rjw@rjwysocki.net, kgene.kim@samsung.com, Chander Kashyap , Chander Kashyap Subject: [Patch v4 4/5] exynos: cpuidle: do not allow cpuidle registration for Exynos5420 Date: Mon, 5 May 2014 14:57:19 +0530 Message-Id: <1399282040-8995-5-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399282040-8995-1-git-send-email-chander.kashyap@linaro.org> References: <1399278444-8312-3-git-send-email-chander.kashyap@linaro.org> <1399282040-8995-1-git-send-email-chander.kashyap@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Signed-off-by: Chander Kashyap Acked-by: Daniel Lezcano --- 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 c57cae0..242f75d 100644 --- a/arch/arm/mach-exynos/cpuidle.c +++ b/arch/arm/mach-exynos/cpuidle.c @@ -219,6 +219,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();