diff mbox

[3/3] omap3: pm: removes hardcoded VDD1/2 OPP values and make threshold generic

Message ID E0D41E29EB0DAC4E9F3FF173962E9E940254330A66@dbde02.ent.ti.com (mailing list archive)
State Changes Requested
Delegated to: Kevin Hilman
Headers show

Commit Message

G.N, Vijayakumar Nov. 19, 2009, 11:26 a.m. UTC
None
diff mbox

Patch

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