From patchwork Thu Nov 19 11:26:07 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "G.N, Vijayakumar" X-Patchwork-Id: 61277 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 nAJBP89Z004999 for ; Thu, 19 Nov 2009 11:26:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751527AbZKSL0l (ORCPT ); Thu, 19 Nov 2009 06:26:41 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751353AbZKSL0l (ORCPT ); Thu, 19 Nov 2009 06:26:41 -0500 Received: from arroyo.ext.ti.com ([192.94.94.40]:35348 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750830AbZKSL0k convert rfc822-to-8bit (ORCPT ); Thu, 19 Nov 2009 06:26:40 -0500 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id nAJBQhGs012443 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 19 Nov 2009 05:26:45 -0600 Received: from dbde71.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id nAJBQgPx003505; Thu, 19 Nov 2009 16:56:42 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Thu, 19 Nov 2009 16:56:43 +0530 From: "G.N, Vijayakumar" To: "khilman@deeprootsystems.com" , "linux-omap@vger.kernel.org" Date: Thu, 19 Nov 2009 16:56:07 +0530 Subject: [PATCH 3/3] omap3: pm: removes hardcoded VDD1/2 OPP values and make threshold generic Thread-Topic: [PATCH 3/3] omap3: pm: removes hardcoded VDD1/2 OPP values and make threshold generic Thread-Index: AcpiJScoehTmBzjdTlSovq1LrOQUJwG3tlSgAAGrD6AAAAz/0AAABwBA Message-ID: 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-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c index 1ed7f53..c240804 100644 --- a/arch/arm/mach-omap2/pm34xx.c +++ b/arch/arm/mach-omap2/pm34xx.c @@ -1080,7 +1080,7 @@ EXPORT_SYMBOL(omap3_get_min_vdd1_opp); int omap3_get_max_vdd2_opp(void) { if (cpu_is_omap3630()) - return VDD2_OPP3; + return VDD2_OPP2; else /* Place holder for other 34xx (3430/3440) */ return VDD2_OPP3; @@ -1090,9 +1090,9 @@ EXPORT_SYMBOL(omap3_get_max_vdd2_opp); int omap3_get_min_vdd2_opp(void) { if (cpu_is_omap3630()) - return VDD2_OPP2; - else /* Place holder for other 34xx (3430/3440) */ return VDD2_OPP1; + else /* Place holder for other 34xx (3430/3440) */ + return VDD2_OPP2; } EXPORT_SYMBOL(omap3_get_min_vdd2_opp);