diff mbox

[PM-WIP-OPP] OMAP3 PM: Fix issue with opp_find_freq_floor

Message ID 1270576596-8761-1-git-send-email-vishwanath.bs@ti.com (mailing list archive)
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

Sripathy, Vishwanath April 6, 2010, 5:56 p.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/plat-omap/opp.c b/arch/arm/plat-omap/opp.c
index bb8120e..13da451
--- a/arch/arm/plat-omap/opp.c
+++ b/arch/arm/plat-omap/opp.c
@@ -208,7 +208,7 @@  struct omap_opp *opp_find_freq_floor(enum opp_t opp_type, unsigned long *freq)
 
 	*freq = prev_opp->rate;
 
-	return oppl;
+	return prev_opp;
 }
 
 /* wrapper to reuse converting opp_def to opp struct */