From patchwork Wed Dec 16 15:31:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Naga Chumbalkar X-Patchwork-Id: 68387 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.2) with ESMTP id nBI4ixom005715 for ; Fri, 18 Dec 2009 04:46:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933783AbZLPPcj (ORCPT ); Wed, 16 Dec 2009 10:32:39 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932670AbZLPPce (ORCPT ); Wed, 16 Dec 2009 10:32:34 -0500 Received: from g1t0029.austin.hp.com ([15.216.28.36]:45513 "EHLO g1t0029.austin.hp.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932283AbZLPPcc convert rfc822-to-8bit (ORCPT ); Wed, 16 Dec 2009 10:32:32 -0500 Received: from G6W0640.americas.hpqcorp.net (g6w0640.atlanta.hp.com [16.230.34.76]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by g1t0029.austin.hp.com (Postfix) with ESMTPS id 6C63B383BC; Wed, 16 Dec 2009 15:32:31 +0000 (UTC) Received: from G6W0173.americas.hpqcorp.net (16.230.33.182) by G6W0640.americas.hpqcorp.net (16.230.34.76) with Microsoft SMTP Server (TLS) id 8.2.176.0; Wed, 16 Dec 2009 15:32:02 +0000 Received: from GVW0676EXC.americas.hpqcorp.net ([16.230.33.207]) by G6W0173.americas.hpqcorp.net ([16.230.33.182]) with mapi; Wed, 16 Dec 2009 15:31:49 +0000 From: "Chumbalkar, Nagananda" To: Dominik Brodowski CC: "davej@redhat.com" , "linux-kernel@vger.kernel.org" , "cpufreq@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "mjg@redhat.com" , "trenn@suse.de" , "lenb@kernel.org" Date: Wed, 16 Dec 2009 15:31:48 +0000 Subject: RE: [PATCH] cpufreq: Processor Clocking Control interface driver Thread-Topic: [PATCH] cpufreq: Processor Clocking Control interface driver Thread-Index: Acp9tSH9dGXHhXujRbKA2pu2bwabHwABo3DA Message-ID: <66D9D2F0CDB5C9428E6166B01EC85EE161DEEE4166@GVW0676EXC.americas.hpqcorp.net> References: <20091128034424.6796.75673.sendpatchset@localhost.localdomain> <20091211231233.GA4291@isilmar.linta.de> <66D9D2F0CDB5C9428E6166B01EC85EE161DEEE3CB7@GVW0676EXC.americas.hpqcorp.net> <20091215183331.GA5560@comet.dominikbrodowski.net> In-Reply-To: <20091215183331.GA5560@comet.dominikbrodowski.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org --- ./drivers/cpufreq/cpufreq_ondemand.c.orig 2009-12-11 15:06:02.000000000 -0600 +++ ./drivers/cpufreq/cpufreq_ondemand.c 2009-12-15 20:27:57.000000000 -0600 @@ -554,6 +554,9 @@ (dbs_tuners_ins.up_threshold - dbs_tuners_ins.down_differential); + if (freq_next < policy->min) + freq_next = policy->min; + if (!dbs_tuners_ins.powersave_bias) { __cpufreq_driver_target(policy, freq_next, CPUFREQ_RELATION_L);