From patchwork Wed May 14 08:03:56 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 4173571 Return-Path: X-Original-To: patchwork-linux-arm@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 4381ABFF02 for ; Wed, 14 May 2014 08:07:50 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5A0702035C for ; Wed, 14 May 2014 08:07:49 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 81EB62034E for ; Wed, 14 May 2014 08:07:48 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1WkUBk-0003U0-Uv; Wed, 14 May 2014 08:05:20 +0000 Received: from mail-pa0-f47.google.com ([209.85.220.47]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1WkUBO-0002EJ-GL for linux-arm-kernel@lists.infradead.org; Wed, 14 May 2014 08:04:59 +0000 Received: by mail-pa0-f47.google.com with SMTP id lf10so1382149pab.20 for ; Wed, 14 May 2014 01:04:37 -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=ZJiVL5hG6oHHTBjbz6G9BqC48306w3ogBf3MaKKOuaI=; b=GlnkzaKvOqixX28PHSaSGAK/SX/riyB0wISrpaEkDiBmQ0oioeeKY1lCNpYsGrufHU jkEUFFo9bOsfpPnheKK60O9KHJu/AcvspVtmvRR/Xh5oIIt3QQf+SaAEsq/w27TfNWd5 dV/FJ3Q9+7lK/FH6OikVpYIXBj1koJA8TkVLN0YrL6v48SjEn9GyE3fIxqL0hk1WkJXM M116h67WuxxCpPQErjnj624mX4eIIVb81uHkU88iAsMeXxbBiZ4L6S8Zc5ssqIcVOks3 jGhvYgVZMXZS1amjczZGCDyxXJRdOQhQm+jD6xTfzgOgLdYMtmQlvo9xGAAsMHh3dUKm 9Ybw== X-Gm-Message-State: ALoCoQllaMbF4279TzLRkgt29NkL7+IIP678bWVW7+StXUCNttEaj4IlvoZhhUafUxZu9QgJ0DgR X-Received: by 10.68.215.40 with SMTP id of8mr2488973pbc.15.1400054677753; Wed, 14 May 2014 01:04:37 -0700 (PDT) Received: from localhost.localdomain ([14.140.216.146]) by mx.google.com with ESMTPSA id as12sm4807422pac.43.2014.05.14.01.04.33 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 01:04:37 -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 Subject: [PATCH v5 5/6] exynos: cpuidle: do not allow cpuidle registration for Exynos5420 Date: Wed, 14 May 2014 13:33:56 +0530 Message-Id: <1400054637-21505-6-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1400054637-21505-1-git-send-email-chander.kashyap@linaro.org> References: <1400054637-21505-1-git-send-email-chander.kashyap@linaro.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140514_010458_642293_5435B2DE X-CRM114-Status: GOOD ( 10.31 ) X-Spam-Score: -0.7 (/) Cc: Chander Kashyap , lorenzo.pieralisi@arm.com, daniel.lezcano@linaro.org, rjw@rjwysocki.net, Chander Kashyap , kgene.kim@samsung.com X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.5 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable 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 Reviewed-by: Tomasz Figa --- 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();