diff mbox

OMAP3: PM: Do not allow OPP1 for VDD2

Message ID 5A47E75E594F054BAF48C5E4FC4B92AB030A3D093D@dbde02.ent.ti.com (mailing list archive)
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

Reddy, Teerth Oct. 9, 2009, 6:08 a.m. UTC
None
diff mbox

Patch

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;
 		}