diff mbox

[v3] OMAP2/3: clock: fix fint calculation for DPLL_FREQSEL

Message ID 87y66e3bc2.fsf_-_@vostro.fn.ogness.net (mailing list archive)
State Awaiting Upstream
Delegated to: Paul Walmsley
Headers show

Commit Message

John Ogness Jan. 21, 2011, 8:33 a.m. UTC
None
diff mbox

Patch

diff --git a/arch/arm/mach-omap2/clkt_dpll.c b/arch/arm/mach-omap2/clkt_dpll.c
index 337392c..acb7ae5 100644
--- a/arch/arm/mach-omap2/clkt_dpll.c
+++ b/arch/arm/mach-omap2/clkt_dpll.c
@@ -77,7 +77,7 @@  static int _dpll_test_fint(struct clk *clk, u8 n)
 	dd = clk->dpll_data;
 
 	/* DPLL divider must result in a valid jitter correction val */
-	fint = clk->parent->rate / (n + 1);
+	fint = clk->parent->rate / n;
 	if (fint < DPLL_FINT_BAND1_MIN) {
 
 		pr_debug("rejecting n=%d due to Fint failure, "