From patchwork Wed Apr 23 09:25:53 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chander Kashyap X-Patchwork-Id: 28855 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-oa0-f69.google.com (mail-oa0-f69.google.com [209.85.219.69]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id ABA09203AC for ; Wed, 23 Apr 2014 09:27:55 +0000 (UTC) Received: by mail-oa0-f69.google.com with SMTP id i4sf4051790oah.8 for ; Wed, 23 Apr 2014 02:27:55 -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=dE/X9dYXjgFUWfoFmoFvULcdYcJTT0hi172fAJUmezI=; b=bLBzyQScX+9F3yjNjN0pjLjRCO7owCVyGfX8DtZq/hXEAAMHfTCfgmG8MfTho8KAIT 9rOxPzzCYt2oWxfxoO8VS47cuxdWrwRk9yFm4PhpOR7CkCb91pzVA6ySFVJRCfzaSdQM S/9mn5+KESjVypaIb4Vf+dNa2doIGJpN14oUqT5I2gxuMP9PA+b2oRIp1BNYMmmkD6L2 gCDawLBZraXNO+puqKHlbvxTjDb5gfz7cL2IkIXPDIladmJCLztjCTp5xMt0RftDvG0d asrHpY7kq1uhlTtcvGHGWbxfmApaxXn4w6tDIRTdl1bvmi8AS2C0iddDthX5ao4PkHt4 w9Qw== X-Gm-Message-State: ALoCoQnxzMb/XH7pDEmSlY2uYZIOFwwrAUdRAt04plFr/EONT+9ZKG73zcvQ0BxNEBErEPNCGzwJ X-Received: by 10.50.43.228 with SMTP id z4mr624682igl.0.1398245275219; Wed, 23 Apr 2014 02:27:55 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.23.232 with SMTP id 95ls528958qgp.68.gmail; Wed, 23 Apr 2014 02:27:55 -0700 (PDT) X-Received: by 10.58.111.163 with SMTP id ij3mr11918415veb.26.1398245275111; Wed, 23 Apr 2014 02:27:55 -0700 (PDT) Received: from mail-ve0-f177.google.com (mail-ve0-f177.google.com [209.85.128.177]) by mx.google.com with ESMTPS id eb17si63700veb.130.2014.04.23.02.27.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:27:55 -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.128.177; Received: by mail-ve0-f177.google.com with SMTP id sa20so794694veb.8 for ; Wed, 23 Apr 2014 02:27:55 -0700 (PDT) X-Received: by 10.58.202.133 with SMTP id ki5mr39586908vec.19.1398245275022; Wed, 23 Apr 2014 02:27:55 -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 ib8csp89283vcb; Wed, 23 Apr 2014 02:27:54 -0700 (PDT) X-Received: by 10.69.15.2 with SMTP id fk2mr18429912pbd.123.1398245274277; Wed, 23 Apr 2014 02:27:54 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id cg4si278089pbb.154.2014.04.23.02.27.53; Wed, 23 Apr 2014 02:27:53 -0700 (PDT) Received-SPF: none (google.com: linux-samsung-soc-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 S1755675AbaDWJ0d (ORCPT + 8 others); Wed, 23 Apr 2014 05:26:33 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:35358 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755636AbaDWJ0X (ORCPT ); Wed, 23 Apr 2014 05:26:23 -0400 Received: by mail-pd0-f182.google.com with SMTP id y10so594005pdj.27 for ; Wed, 23 Apr 2014 02:26:23 -0700 (PDT) X-Received: by 10.68.96.225 with SMTP id dv1mr347389pbb.30.1398245183255; Wed, 23 Apr 2014 02:26:23 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPSA id vg1sm1119481pbc.44.2014.04.23.02.26.19 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 23 Apr 2014 02:26:22 -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 v2 3/4] exynos: cpuidle: do not allow cpuidle registration for Exynos5420 Date: Wed, 23 Apr 2014 14:55:53 +0530 Message-Id: <1398245154-18771-4-git-send-email-chander.kashyap@linaro.org> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1398245154-18771-1-git-send-email-chander.kashyap@linaro.org> References: <1398080958-21677-5-git-send-email-chander.kashyap@linaro.org> <1398245154-18771-1-git-send-email-chander.kashyap@linaro.org> Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-samsung-soc@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();