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: 30155 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qg0-f70.google.com (mail-qg0-f70.google.com [209.85.192.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E5D6B20446 for ; Wed, 14 May 2014 08:05:18 +0000 (UTC) Received: by mail-qg0-f70.google.com with SMTP id i50sf3132921qgf.1 for ; Wed, 14 May 2014 01:05:18 -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=/lgtjQWAlcUlT48I8v3JC4wSfHUj0d9drrkXzerUW30=; b=J9/xZ3mBOeM2bdTAqLRTmF08cYTRm7noLqZ8dPrjD1FdST821PX9VgMitj+GyTxWao Exm8+zgIdFOHDmI5CG86Na+GO2YOMhogY+vMw01Nf3QDllMGCvcWXKQmQ9d+NoEAHIcy FzjnKEeL1ApBWNB/YrCQAPM3U8jjwZ2kBa+RqchheVON4fUq5rx5yguWNs3WiJXhlSF+ cYdSdk75QU9MsRIo+f9lZ02G4N19E+nTgCRcMEQH0ym7Brxwm6qwRYIlKhM+5su7MRrg 3L706QbuyJs5SIxqlHmcUQ4IF+poVSvj2ELv8cK2MltNq0e+uwtksh31sTO9jx064PpL 6lPg== X-Gm-Message-State: ALoCoQkxyqQOcXwRQlk81+d23Sr79ExH0tHxtddb4Pt8L3Uq5KhuCDqupLCz4UYzN4Pb3OkZpXgs X-Received: by 10.236.94.238 with SMTP id n74mr821908yhf.27.1400054718480; Wed, 14 May 2014 01:05:18 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.24.42 with SMTP id 39ls2234944qgq.26.gmail; Wed, 14 May 2014 01:05:18 -0700 (PDT) X-Received: by 10.58.120.46 with SMTP id kz14mr1823041veb.25.1400054718393; Wed, 14 May 2014 01:05:18 -0700 (PDT) Received: from mail-ve0-f181.google.com (mail-ve0-f181.google.com [209.85.128.181]) by mx.google.com with ESMTPS id up2si195090vec.158.2014.05.14.01.05.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 14 May 2014 01:05:18 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) client-ip=209.85.128.181; Received: by mail-ve0-f181.google.com with SMTP id pa12so1895166veb.40 for ; Wed, 14 May 2014 01:05:18 -0700 (PDT) X-Received: by 10.221.34.7 with SMTP id sq7mr1855517vcb.5.1400054718322; Wed, 14 May 2014 01:05:18 -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 ib8csp219180vcb; Wed, 14 May 2014 01:05:17 -0700 (PDT) X-Received: by 10.68.201.226 with SMTP id kd2mr2388292pbc.157.1400054717567; Wed, 14 May 2014 01:05:17 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id iv2si568182pbd.297.2014.05.14.01.05.17; Wed, 14 May 2014 01:05: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 S1753375AbaENIFO (ORCPT + 12 others); Wed, 14 May 2014 04:05:14 -0400 Received: from mail-pb0-f47.google.com ([209.85.160.47]:60099 "EHLO mail-pb0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753251AbaENIEj (ORCPT ); Wed, 14 May 2014 04:04:39 -0400 Received: by mail-pb0-f47.google.com with SMTP id rp16so77058pbb.20 for ; Wed, 14 May 2014 01:04:37 -0700 (PDT) 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 Cc: daniel.lezcano@linaro.org, lorenzo.pieralisi@arm.com, rjw@rjwysocki.net, kgene.kim@samsung.com, Chander Kashyap , Chander Kashyap 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> 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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.128.181 as permitted sender) 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 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();