diff options
-rw-r--r-- | sound/soc/codecs/nau8825.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/nau8825.c b/sound/soc/codecs/nau8825.c index 5c9707ac4bbf..cc32699f8e29 100644 --- a/sound/soc/codecs/nau8825.c +++ b/sound/soc/codecs/nau8825.c | |||
@@ -1912,7 +1912,7 @@ static int nau8825_calc_fll_param(unsigned int fll_in, unsigned int fs, | |||
1912 | /* Calculate the FLL 10-bit integer input and the FLL 16-bit fractional | 1912 | /* Calculate the FLL 10-bit integer input and the FLL 16-bit fractional |
1913 | * input based on FDCO, FREF and FLL ratio. | 1913 | * input based on FDCO, FREF and FLL ratio. |
1914 | */ | 1914 | */ |
1915 | fvco = div_u64(fvco << 16, fref * fll_param->ratio); | 1915 | fvco = div_u64(fvco_max << 16, fref * fll_param->ratio); |
1916 | fll_param->fll_int = (fvco >> 16) & 0x3FF; | 1916 | fll_param->fll_int = (fvco >> 16) & 0x3FF; |
1917 | fll_param->fll_frac = fvco & 0xFFFF; | 1917 | fll_param->fll_frac = fvco & 0xFFFF; |
1918 | return 0; | 1918 | return 0; |