diff options
author | Boris BREZILLON <boris.brezillon@free-electrons.com> | 2014-09-02 07:50:14 (GMT) |
---|---|---|
committer | Mike Turquette <mturquette@linaro.org> | 2014-09-02 22:36:56 (GMT) |
commit | 078a3eb519dacf28cb7c9bb2ad2f62e19ca6dcc2 (patch) | |
tree | 1eee8ab4236f788e497d04c35c0e763052480623 /drivers/clk | |
parent | fe94f974e9c8b820640a5873d81589ab67380516 (diff) | |
download | linux-078a3eb519dacf28cb7c9bb2ad2f62e19ca6dcc2.tar.xz |
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>
Diffstat (limited to 'drivers/clk')
-rw-r--r-- | drivers/clk/at91/clk-pll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/clk-pll.c b/drivers/clk/at91/clk-pll.c index cf6ed02..7b453b9 100644 --- a/drivers/clk/at91/clk-pll.c +++ b/drivers/clk/at91/clk-pll.c @@ -31,7 +31,7 @@ (layout)->mul_mask) #define PLL_ICPR_SHIFT(id) ((id) * 16) #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_OUT_SHIFT 14 #define PLL_MAX_ID 1 |