From patchwork Fri Oct 9 06:08:43 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Reddy, Teerth" X-Patchwork-Id: 52659 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 n9969hTr029542 for ; Fri, 9 Oct 2009 06:09:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756090AbZJIGJ1 (ORCPT ); Fri, 9 Oct 2009 02:09:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755994AbZJIGJ1 (ORCPT ); Fri, 9 Oct 2009 02:09:27 -0400 Received: from devils.ext.ti.com ([198.47.26.153]:52493 "EHLO devils.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755819AbZJIGJ0 convert rfc822-to-8bit (ORCPT ); Fri, 9 Oct 2009 02:09:26 -0400 Received: from dbdp20.itg.ti.com ([172.24.170.38]) by devils.ext.ti.com (8.13.7/8.13.7) with ESMTP id n9968kn4008687 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Oct 2009 01:08:49 -0500 Received: from dbde70.ent.ti.com (localhost [127.0.0.1]) by dbdp20.itg.ti.com (8.13.8/8.13.8) with ESMTP id n9968j43008466; Fri, 9 Oct 2009 11:38:45 +0530 (IST) Received: from dbde02.ent.ti.com ([172.24.170.145]) by dbde70.ent.ti.com ([172.24.170.148]) with mapi; Fri, 9 Oct 2009 11:38:44 +0530 From: "Reddy, Teerth" To: "linux-omap@vger.kernel.org" , Kevin Hilman Date: Fri, 9 Oct 2009 11:38:43 +0530 Subject: [PATCH] OMAP3: PM: Do not allow OPP1 for VDD2 Thread-Topic: [PATCH] OMAP3: PM: Do not allow OPP1 for VDD2 Thread-Index: AcpIpvSlHRjTtxUhTnCmoMEmvhUtuA== Message-ID: <5A47E75E594F054BAF48C5E4FC4B92AB030A3D093D@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 Index: linux-omap-pm/arch/arm/mach-omap2/pm.c =================================================================== --- linux-omap-pm.orig/arch/arm/mach-omap2/pm.c +++ linux-omap-pm/arch/arm/mach-omap2/pm.c @@ -144,7 +144,7 @@ static ssize_t vdd_opp_store(struct kobj } 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; }