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: 29632 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f71.google.com (mail-oa0-f71.google.com [209.85.219.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 40CAA2055D for ; Mon, 5 May 2014 09:28:16 +0000 (UTC) Received: by mail-oa0-f71.google.com with SMTP id m1sf30344184oag.6 for ; Mon, 05 May 2014 02:28:15 -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=Vj6Rx0oL4aTHZKKP/vo35Gfbu5nhT6qqrKrR6GMSSZw=; b=Ctvyp0SLO0l4iY2Hiv03bQEcLWtuE/TrWV23uCluxo9sq4OuhziE5/jyPJjFvsHnIh EDiCO/2aSwhhu7jsy2tKAZLH7MtRfP47yk40DPBGWRCSbhT6nIPEU25pUyanefypRVya 5pSWwzUFtzM5FFICKaHRZlpngNhSkXi9CFvK/q4TaQXQO9aSXHjjk80DcMDeq/2946VR O6vn7I45sv+9LG39pOw6712+5VmEuOJSGz3/CS+j/ov4jDNW9GOgfFMFODQM3Mh9B7UY SdJjuJTi18KcZ7rkGZGJTvHOmU8crz27VtMzaE1MpQggdkN5ixA4mCGiLRnxIPIVP07I NwsQ== X-Gm-Message-State: ALoCoQmrJ/x5Taa4rbbitYLLhEmTQYKe5q4gRMMYdTygjTHTPmQDTterSDm5FLISGgBeYhYkybDu X-Received: by 10.43.139.66 with SMTP id iv2mr15500995icc.17.1399282095826; Mon, 05 May 2014 02:28:15 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.33.164 with SMTP id j33ls1025193qgj.73.gmail; Mon, 05 May 2014 02:28:15 -0700 (PDT) X-Received: by 10.220.92.193 with SMTP id s1mr24106vcm.34.1399282095673; Mon, 05 May 2014 02:28:15 -0700 (PDT) Received: from mail-vc0-f169.google.com (mail-vc0-f169.google.com [209.85.220.169]) by mx.google.com with ESMTPS id rw10si1433506vec.26.2014.05.05.02.28.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 05 May 2014 02:28:15 -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.169; Received: by mail-vc0-f169.google.com with SMTP id ij19so1331783vcb.28 for ; Mon, 05 May 2014 02:28:15 -0700 (PDT) X-Received: by 10.220.10.2 with SMTP id n2mr1784258vcn.26.1399282095576; Mon, 05 May 2014 02:28:15 -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 ib8csp125553vcb; Mon, 5 May 2014 02:28:15 -0700 (PDT) X-Received: by 10.66.254.234 with SMTP id al10mr69229438pad.137.1399282094690; Mon, 05 May 2014 02:28:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bs8si7855025pad.340.2014.05.05.02.28.13; Mon, 05 May 2014 02:28:14 -0700 (PDT) Received-SPF: none (google.com: linux-kernel-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 S1756031AbaEEJ2A (ORCPT + 27 others); Mon, 5 May 2014 05:28:00 -0400 Received: from mail-pa0-f49.google.com ([209.85.220.49]:49524 "EHLO mail-pa0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755954AbaEEJ1w (ORCPT ); Mon, 5 May 2014 05:27:52 -0400 Received: by mail-pa0-f49.google.com with SMTP id lj1so3682680pab.8 for ; Mon, 05 May 2014 02:27:52 -0700 (PDT) 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-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@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();