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: 2791361 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 26C929F756 for ; Thu, 27 Jun 2013 09:57:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ED4A220314 for ; Thu, 27 Jun 2013 09:57:30 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 960382030B for ; Thu, 27 Jun 2013 09:57:29 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Us8x3-0003Wl-Bn; Thu, 27 Jun 2013 09:57:17 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1Us8wq-00045p-9y; Thu, 27 Jun 2013 09:57:04 +0000 Received: from mail-wi0-f180.google.com ([209.85.212.180]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Us8wn-00044t-RE for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2013 09:57:02 +0000 Received: by mail-wi0-f180.google.com with SMTP id c10so422382wiw.1 for ; Thu, 27 Jun 2013 02:56:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state; bh=UxMC2n5uJX/gkQSlIXGFT+srL1P2OdArLCYGw1vrSIM=; b=GD0LmWOQSJoS5B6iLy2FOpBZFM6kYMsaDyFcNX/kJrPG67y5DDYerpvY5kJ60JYaJy TI4fAQLX4xmI21qSZ01Or3qUAX36DpDF+41VQ52CjX+jnpE37yX5T2cB3YXeMZcomkcQ BOOiDmqHgQj+DGZ5xqouBsmBrJB6gZuXivMIPz8NOcgCIRolkeocEEibdVDho9QNhfmc tnmhWlLIYNU26KmSvhM5zVhb4AeMjpxLaBs+uH/x7FtBeDQh+lPFp/WOHKfvSS1xAMHD N/bk9g7XxW1LTcd1OUECI7en/wA2yPqbeNBNVm57vtchoZcKs+5WsVe9ylDexT9ZS9gL p8tA== 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 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: ALoCoQmeK8ZuLfgVfL7eICREN6/xdHMfcZHm3YVYI8cAupWJtoO4luLxpa3eV3udEwHvsqVQat0j X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130627_055701_980553_BB5A550D X-CRM114-Status: GOOD ( 10.76 ) X-Spam-Score: -2.6 (--) Cc: rjw@sisk.pl, patches@linaro.org, linaro-kernel@lists.linaro.org, linux-arm-kernel@lists.infradead.org, linux-pm@vger.kernel.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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",