diff mbox

[v2] omap2: fix DPLL_FREQSEL calculation

Message ID 8739on1wdd.fsf_-_@vostro.fn.ogness.net (mailing list archive)
State Superseded, archived
Delegated to: Paul Walmsley
Headers show

Commit Message

John Ogness Jan. 20, 2011, 2:29 p.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, "