mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-15 02:05:33 +00:00
clk: at91: fix PLL_MAX_COUNT macro definition
Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com> Reported-by: Gaël PORTAY <gael.portay@gmail.com> Tested-by: Gaël PORTAY <gael.portay@gmail.com> Signed-off-by: Mike Turquette <mturquette@linaro.org>
This commit is contained in:
parent
fe94f974e9
commit
078a3eb519
@ -31,7 +31,7 @@
|
|||||||
(layout)->mul_mask)
|
(layout)->mul_mask)
|
||||||
#define PLL_ICPR_SHIFT(id) ((id) * 16)
|
#define PLL_ICPR_SHIFT(id) ((id) * 16)
|
||||||
#define PLL_ICPR_MASK(id) (0xffff << PLL_ICPR_SHIFT(id))
|
#define PLL_ICPR_MASK(id) (0xffff << PLL_ICPR_SHIFT(id))
|
||||||
#define PLL_MAX_COUNT 0x3ff
|
#define PLL_MAX_COUNT 0x3f
|
||||||
#define PLL_COUNT_SHIFT 8
|
#define PLL_COUNT_SHIFT 8
|
||||||
#define PLL_OUT_SHIFT 14
|
#define PLL_OUT_SHIFT 14
|
||||||
#define PLL_MAX_ID 1
|
#define PLL_MAX_ID 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user