Skip to content

Commit 3bf639a

Browse files
claudiubezneabebarino
authored andcommitted
clk: at91: clk-sam9x60-pll: fix mul mask
According to datasheet mul mask is on bits 31..24. Fixes: a436c2a ("clk: at91: add sam9x60 PLL driver") Signed-off-by: Claudiu Beznea <[email protected]> Reviewed-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Stephen Boyd <[email protected]>
1 parent 83331bf commit 3bf639a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clk/at91/clk-sam9x60-pll.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "pmc.h"
1616

1717
#define PMC_PLL_CTRL0_DIV_MSK GENMASK(7, 0)
18-
#define PMC_PLL_CTRL1_MUL_MSK GENMASK(30, 24)
18+
#define PMC_PLL_CTRL1_MUL_MSK GENMASK(31, 24)
1919

2020
#define PLL_DIV_MAX (FIELD_GET(PMC_PLL_CTRL0_DIV_MSK, UINT_MAX) + 1)
2121
#define UPLL_DIV 2

0 commit comments

Comments
 (0)