projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
OMAP2/3: clock: fix fint calculation for DPLL_FREQSEL
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-omap2
/
clkt_dpll.c
diff --git
a/arch/arm/mach-omap2/clkt_dpll.c
b/arch/arm/mach-omap2/clkt_dpll.c
index 337392c3f549deb5124326fa67f09dd657673bba..acb7ae5b0a25eb179056855f36b0b21fcd9ff466 100644
(file)
--- 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, "