From patchwork Thu Oct 8 09:21:20 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Reddy, Teerth" X-Patchwork-Id: 52449 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 n989MNTn021053 for ; Thu, 8 Oct 2009 09:22:24 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755688AbZJHJWE (ORCPT ); Thu, 8 Oct 2009 05:22:04 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754145AbZJHJWE (ORCPT ); Thu, 8 Oct 2009 05:22:04 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:41788 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753902AbZJHJWD convert rfc822-to-8bit (ORCPT ); Thu, 8 Oct 2009 05:22:03 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id n989LNrT031479 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Oct 2009 04:21:25 -0500 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 n989LLKX027022; Thu, 8 Oct 2009 14:51:22 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde71.ent.ti.com ([172.24.170.149]) with mapi; Thu, 8 Oct 2009 14:51:21 +0530 From: "Reddy, Teerth" To: "linux-omap@vger.kernel.org" , Kevin Hilman Date: Thu, 8 Oct 2009 14:51:20 +0530 Subject: [PATCH] OMAP3: PM: Fix VDD2 OPP1 issue Thread-Topic: [PATCH] OMAP3: PM: Fix VDD2 OPP1 issue Thread-Index: AcpH+LIvipPSxEXpRAWWrdZOcuCuoQ== Message-ID: <5A47E75E594F054BAF48C5E4FC4B92AB030A3D062B@dbde02.ent.ti.com> 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/pm.c b/arch/arm/mach-omap2/pm.c index fec7d00..d0e03c4 100644 --- a/arch/arm/mach-omap2/pm.c +++ b/arch/arm/mach-omap2/pm.c @@ -195,7 +195,7 @@ static ssize_t vdd_opp_store(struct kobject *kobj, struct kobj_attribute *attr, } resource_set_opp_level(VDD1_OPP, value, flags); } else if (attr == &vdd2_opp_attr) { - if (value < 1 || value > 3) { + if (value < 2 || value > 3) { printk(KERN_ERR "vdd_opp_store: Invalid value\n"); return -EINVAL; }