From patchwork Wed Dec 2 10:12:39 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Dasgupta, Romit" X-Patchwork-Id: 64216 X-Patchwork-Delegate: khilman@deeprootsystems.com Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id nB2ACmV4003006 for ; Wed, 2 Dec 2009 10:12:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751773AbZLBKMl (ORCPT ); Wed, 2 Dec 2009 05:12:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752624AbZLBKMl (ORCPT ); Wed, 2 Dec 2009 05:12:41 -0500 Received: from bear.ext.ti.com ([192.94.94.41]:36787 "EHLO bear.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751728AbZLBKMk (ORCPT ); Wed, 2 Dec 2009 05:12:40 -0500 Received: from dbdp31.itg.ti.com ([172.24.170.98]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id nB2AChma016790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 2 Dec 2009 04:12:45 -0600 Received: from [172.24.190.91] (localhost [127.0.0.1]) by dbdp31.itg.ti.com (8.13.8/8.13.8) with ESMTP id nB2ACf3h012021; Wed, 2 Dec 2009 15:42:41 +0530 (IST) Subject: [PATCH] PM: Prevent direct cpufreq scaling during initialization From: Romit Dasgupta Reply-To: romit@ti.com To: khilman@deeprootsystems.com Cc: linux-omap@vger.kernel.org Organization: Texas Instruments Date: Wed, 02 Dec 2009 15:42:39 +0530 Message-ID: <1259748759.21203.11.camel@boson> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c index 449b6b6..f94df20 100644 --- a/arch/arm/plat-omap/cpu-omap.c +++ b/arch/arm/plat-omap/cpu-omap.c @@ -149,8 +149,6 @@ static int __init omap_cpu_init(struct cpufreq_policy *policy) VERY_HI_RATE) / 1000; } - clk_set_rate(mpu_clk, policy->cpuinfo.max_freq * 1000); - policy->min = policy->cpuinfo.min_freq; policy->max = policy->cpuinfo.max_freq; policy->cur = omap_getspeed(0);