diff options
author | Peng Fan <peng.fan@nxp.com> | 2020-09-16 15:17:19 +0800 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-09-17 14:40:04 +0200 |
commit | d81e8cf6eaebbb0a67857224781f6f7470785422 (patch) | |
tree | 213dfd4314e0680245c86a63583e8a97a1fe1ef0 | |
parent | 95bae9ff920b6120bd2c21437517ed99a2d54b61 (diff) |
imx8mq: fix FRAC_PLL_REFCLK_SEL_MASK
Coverity reported dead code, however it is FRAC_PLL_REFCLK_SEL_MASK
was wrongly set.
Reported-by: Coverity 10045172
Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
-rw-r--r-- | arch/arm/include/asm/arch-imx8m/clock_imx8mq.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-imx8m/clock_imx8mq.h b/arch/arm/include/asm/arch-imx8m/clock_imx8mq.h index 742cbf3bf8..7109d334fa 100644 --- a/arch/arm/include/asm/arch-imx8m/clock_imx8mq.h +++ b/arch/arm/include/asm/arch-imx8m/clock_imx8mq.h @@ -316,7 +316,7 @@ enum clk_src_index { #define FRAC_PLL_LOCK_MASK BIT(31) #define FRAC_PLL_CLKE_MASK BIT(21) #define FRAC_PLL_PD_MASK BIT(19) -#define FRAC_PLL_REFCLK_SEL_MASK BIT(16) +#define FRAC_PLL_REFCLK_SEL_MASK (0x3 << 16) #define FRAC_PLL_LOCK_SEL_MASK BIT(15) #define FRAC_PLL_BYPASS_MASK BIT(14) #define FRAC_PLL_COUNTCLK_SEL_MASK BIT(13) |