From patchwork Mon May 5 08:27:23 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 29614 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f71.google.com (mail-pa0-f71.google.com [209.85.220.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id C1508202E6 for ; Mon, 5 May 2014 08:28:22 +0000 (UTC) Received: by mail-pa0-f71.google.com with SMTP id kx10sf26070964pab.6 for ; Mon, 05 May 2014 01:28:21 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe; bh=KamdJ1BN/igTYPDXIRAckcIib1XKDzrNxk/XGPgor38=; b=QDoY21Q1Sc6T0FKIN99Y3q38G7OpXTs/UC8BqLq6S7OHrQHYDBYBElL1VSKnd/E0RT hk+5T1KXg/+Hcyxki2BshiUVVkFfgz5B/cN5CAi/WcoSxSx4+3QN+h1mLFf7FlOkj1AJ 29Qc98Eu7KKUvfBhLAWHHEh8+H9ddARVMS4jz/NONZvzU7MyJQe28a/r2v4gVtxPs1kZ +D9E+oceVMzy1+ZpeAYgq2sJYRsWueJviQj0j2tUh/SzOyIyd/U2psE6weBpW0pPDhAC W5AcrwsAmwIw07/0uj+Eqe7eKlsf6ovHS6Iz01pk3OZUP9UqONqkgC3398lKYtIBeQi4 DYMw== X-Gm-Message-State: ALoCoQnp6mtHPa6GOvs8R0JKVlNsBHq3augRd8Wzp3fsw6L8BENrAZDghqF519dMadgQhxYIWpf6 X-Received: by 10.66.252.198 with SMTP id zu6mr16266547pac.25.1399278501238; Mon, 05 May 2014 01:28:21 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.134 with SMTP id t6ls2266242qgd.20.gmail; Mon, 05 May 2014 01:28:21 -0700 (PDT) X-Received: by 10.52.99.168 with SMTP id er8mr1953033vdb.26.1399278501018; Mon, 05 May 2014 01:28:21 -0700 (PDT) Received: from mail-vc0-f172.google.com (mail-vc0-f172.google.com [209.85.220.172]) by mx.google.com with ESMTPS id u5si1396420vdo.148.2014.05.05.01.28.21 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 01:28:21 -0700 (PDT) Received-SPF: none (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) client-ip=209.85.220.172; Received: by mail-vc0-f172.google.com with SMTP id id10so8173246vcb.17 for ; Mon, 05 May 2014 01:28:20 -0700 (PDT) X-Received: by 10.221.44.73 with SMTP id uf9mr16734981vcb.9.1399278500952; Mon, 05 May 2014 01:28:20 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.221.72 with SMTP id ib8csp122381vcb; Mon, 5 May 2014 01:28:20 -0700 (PDT) X-Received: by 10.66.233.72 with SMTP id tu8mr68871364pac.112.1399278497861; Mon, 05 May 2014 01:28:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id uu2si7717207pac.118.2014.05.05.01.28.17; Mon, 05 May 2014 01:28:17 -0700 (PDT) Received-SPF: none (google.com: linux-pm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755176AbaEEI2A (ORCPT + 12 others); Mon, 5 May 2014 04:28:00 -0400 Received: from mail-ig0-f170.google.com ([209.85.213.170]:34902 "EHLO mail-ig0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755139AbaEEI14 (ORCPT ); Mon, 5 May 2014 04:27:56 -0400 Received: by mail-ig0-f170.google.com with SMTP id r10so4131255igi.3 for ; Mon, 05 May 2014 01:27:55 -0700 (PDT) X-Received: by 10.42.92.82 with SMTP id s18mr1386151icm.64.1399278475532; Mon, 05 May 2014 01:27:55 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id d10sm25050399igc.8.2014.05.05.01.27.51 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 01:27:55 -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 v3 4/5] exynos: cpuidle: do not allow cpuidle registration for Exynos5420 Date: Mon, 5 May 2014 13:57:23 +0530 Message-Id: <1399278444-8312-5-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1399278444-8312-1-git-send-email-chander.kashyap@linaro.org> References: <1398245154-18771-1-git-send-email-chander.kashyap@linaro.org> <1399278444-8312-1-git-send-email-chander.kashyap@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-pm@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: chander.kashyap@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: patch+caf_=patchwork-forward=linaro.org@linaro.org does not designate permitted sender hosts) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , 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();