|
@@ -935,9 +935,7 @@ static int aic3x_hw_params(struct snd_pcm_substream *substream,
|
|
|
}
|
|
|
|
|
|
found:
|
|
|
- data = snd_soc_read(codec, AIC3X_PLL_PROGA_REG);
|
|
|
- snd_soc_write(codec, AIC3X_PLL_PROGA_REG,
|
|
|
- data | (pll_p << PLLP_SHIFT));
|
|
|
+ snd_soc_update_bits(codec, AIC3X_PLL_PROGA_REG, PLLP_MASK, pll_p);
|
|
|
snd_soc_write(codec, AIC3X_OVRF_STATUS_AND_PLLR_REG,
|
|
|
pll_r << PLLR_SHIFT);
|
|
|
snd_soc_write(codec, AIC3X_PLL_PROGB_REG, pll_j << PLLJ_SHIFT);
|