Skip to content
Snippets Groups Projects
Commit 1c4044ae authored by Khoronzhuk, Ivan's avatar Khoronzhuk, Ivan Committed by Tom Rini
Browse files

ARM: keystone: clock: use correct BWADJ field mask for PASSPLLCTL0


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: default avatarIvan Khoronzhuk <ivan.khoronzhuk@ti.com>
parent d6c1ffc7
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment