From patchwork Thu Jun 27 09:56:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 18148 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2794D25E0D for ; Thu, 27 Jun 2013 09:56:42 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id hf12sf372845vcb.9 for ; Thu, 27 Jun 2013 02:56:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=UxMC2n5uJX/gkQSlIXGFT+srL1P2OdArLCYGw1vrSIM=; b=P6R6Bw2veWq5Smu4jj6sgTvc/X3KMZt9dL6KGGvBJR+Vd+mtv8/twnTxKLnY66xzy0 Ard7Rpbho8En892nUtBOQ2qOghi6XyzhNY+BtlzmODH5z/leC4Khcc25iSeD4oC1ODEs R45tcq42r1ycL0/C4xs03DM80bFS57CwAqjdPbPTsz1JXIw/SrlGUhBm81W3d+hFYbCi h4DDqHdcCZPs76595dXoDsjlMYJ5yD+heYwCSWH9R0QoWs8T84omX7MxCmd72D+Aj2cE 5awvsVXvtEAgP8ctmdE9jU7oqIjExHM0J8+eha0u7QSSluTzJYKSGeagaZSbqCDBrFYy rxHQ== X-Received: by 10.236.124.165 with SMTP id x25mr4394042yhh.4.1372327001494; Thu, 27 Jun 2013 02:56:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.25.164 with SMTP id d4ls766106qeg.34.gmail; Thu, 27 Jun 2013 02:56:41 -0700 (PDT) X-Received: by 10.52.34.40 with SMTP id w8mr2735406vdi.7.1372327001394; Thu, 27 Jun 2013 02:56:41 -0700 (PDT) Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com [209.85.212.53]) by mx.google.com with ESMTPS id f5si588895vcy.45.2013.06.27.02.56.41 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Jun 2013 02:56:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.53; Received: by mail-vb0-f53.google.com with SMTP id p12so429341vbe.40 for ; Thu, 27 Jun 2013 02:56:41 -0700 (PDT) X-Received: by 10.52.77.5 with SMTP id o5mr2710123vdw.46.1372327001069; Thu, 27 Jun 2013 02:56:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp141394veb; Thu, 27 Jun 2013 02:56:40 -0700 (PDT) X-Received: by 10.180.20.116 with SMTP id m20mr5349851wie.46.1372327000093; Thu, 27 Jun 2013 02:56:40 -0700 (PDT) Received: from mail-we0-f170.google.com (mail-we0-f170.google.com [74.125.82.170]) by mx.google.com with ESMTPS id gl2si728965wib.81.2013.06.27.02.56.39 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Jun 2013 02:56:40 -0700 (PDT) Received-SPF: neutral (google.com: 74.125.82.170 is neither permitted nor denied by best guess record for domain of daniel.lezcano@linaro.org) client-ip=74.125.82.170; Received: by mail-we0-f170.google.com with SMTP id w57so393126wes.29 for ; Thu, 27 Jun 2013 02:56:39 -0700 (PDT) X-Received: by 10.180.187.136 with SMTP id fs8mr5361321wic.18.1372326999598; Thu, 27 Jun 2013 02:56:39 -0700 (PDT) Received: from mai.home (AToulouse-654-1-435-101.w83-205.abo.wanadoo.fr. [83.205.66.101]) by mx.google.com with ESMTPSA id o14sm16263822wiv.3.2013.06.27.02.56.37 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 27 Jun 2013 02:56:38 -0700 (PDT) From: Daniel Lezcano To: nsekhar@ti.com, khilman@deeprootsystems.com Cc: rjw@sisk.pl, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, patches@linaro.org, linaro-kernel@lists.linaro.org Subject: [PATCH] ARM: cpuidle: davinci: Fix target residency Date: Thu, 27 Jun 2013 11:56:52 +0200 Message-Id: <1372327012-13528-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.7.9.5 X-Gm-Message-State: ALoCoQlQX/eje3507PfX/yyH3qJV+LbH+v0VNalAl0E6spYGJTXsaB3GpcagmBkVUC+8pKbAPJpa X-Original-Sender: daniel.lezcano@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.53 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , The commit 19976c2a88d125aec16b9255c7197c297bbdd637 changed the target residency to 100000, assuming this is a careless mistake. The same happened to the at91's cpuidle driver. Fix it by putting the initial value to 10000. Signed-off-by: Daniel Lezcano --- arch/arm/mach-davinci/cpuidle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-davinci/cpuidle.c b/arch/arm/mach-davinci/cpuidle.c index 36aef3a..f1ac1c9 100644 --- a/arch/arm/mach-davinci/cpuidle.c +++ b/arch/arm/mach-davinci/cpuidle.c @@ -65,7 +65,7 @@ static struct cpuidle_driver davinci_idle_driver = { .states[1] = { .enter = davinci_enter_idle, .exit_latency = 10, - .target_residency = 100000, + .target_residency = 10000, .flags = CPUIDLE_FLAG_TIME_VALID, .name = "DDR SR", .desc = "WFI and DDR Self Refresh",