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
omap3: clock: Fix the DPLL freqsel computations
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-omap2
/
clock34xx.c
diff --git
a/arch/arm/mach-omap2/clock34xx.c
b/arch/arm/mach-omap2/clock34xx.c
index 489556eecbd1189a7a61638deec0f33d3aff59ad..7c5c00df3c70c36bb2a96b39ef015688e3599cb8 100644
(file)
--- a/
arch/arm/mach-omap2/clock34xx.c
+++ b/
arch/arm/mach-omap2/clock34xx.c
@@
-473,7
+473,7
@@
static u16 _omap3_dpll_compute_freqsel(struct clk *clk, u8 n)
unsigned long fint;
u16 f = 0;
- fint = clk->dpll_data->clk_ref->rate /
(n + 1)
;
+ fint = clk->dpll_data->clk_ref->rate /
n
;
pr_debug("clock: fint is %lu\n", fint);