rockchip: clk: rk3128: fix NANDC_PLL_SEL_MASK
The PLL selector field for NANDC is only 2 bits wide.
This fixes an 'int-overflow on shift' warning.
Fixes: 9246d9e
("rockchip: rk3128: add clock driver")
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
This commit is contained in:
parent
5f104178bf
commit
cd401abcd5
@ -136,7 +136,7 @@ enum {
|
||||
|
||||
/* CRU_CLK_SEL2_CON */
|
||||
NANDC_PLL_SEL_SHIFT = 14,
|
||||
NANDC_PLL_SEL_MASK = 7 << NANDC_PLL_SEL_SHIFT,
|
||||
NANDC_PLL_SEL_MASK = 3 << NANDC_PLL_SEL_SHIFT,
|
||||
NANDC_PLL_SEL_CPLL = 0,
|
||||
NANDC_PLL_SEL_GPLL,
|
||||
NANDC_CLK_DIV_SHIFT = 8,
|
||||
|
Loading…
Reference in New Issue
Block a user