projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c1ffc
)
ARM: keystone: clock: use correct BWADJ field mask for PASSPLLCTL0
author
Khoronzhuk, Ivan
<ivan.khoronzhuk@ti.com>
Mon, 11 Aug 2014 08:59:42 +0000
(11:59 +0300)
committer
Tom Rini
<trini@ti.com>
Thu, 4 Sep 2014 17:05:57 +0000
(13:05 -0400)
The mask for BWADJ field of PASSPLLCTL0 register has to be 0xff, but
by mistake, here is used shift instead of mask, so correct it.
Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk@ti.com>
arch/arm/cpu/armv7/keystone/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/keystone/clock.c
b/arch/arm/cpu/armv7/keystone/clock.c
index 30d76a6603ee475b52a2684bee3ebcd16e6958bc..47fc89398d44123441ade21d9bf017e7621bd4d6 100644
(file)
--- a/
arch/arm/cpu/armv7/keystone/clock.c
+++ b/
arch/arm/cpu/armv7/keystone/clock.c
@@
-174,7
+174,7
@@
void init_pll(const struct pll_init_data *data)
* bypass disabled
*/
bwadj = pllm >> 1;
- tmp |= ((bwadj & PLL_BWADJ_LO_
SHIFT
) << PLL_BWADJ_LO_SHIFT) |
+ tmp |= ((bwadj & PLL_BWADJ_LO_
MASK
) << PLL_BWADJ_LO_SHIFT) |
(pllm << PLL_MULT_SHIFT) |
(plld & PLL_DIV_MASK) |
(pllod << PLL_CLKOD_SHIFT);