use the real rate value config clocking
This commit is contained in:
parent
932d2ab1c5
commit
3c4fc91f89
1 changed files with 1 additions and 1 deletions
2
ac108.c
2
ac108.c
|
@ -841,7 +841,7 @@ static int ac108_hw_params(struct snd_pcm_substream *substream, struct snd_pcm_h
|
||||||
*/
|
*/
|
||||||
ac108_multi_chips_update_bits(ADC_SPRC, 0x0f << ADC_FS_I2S1, ac108_sample_rate[rate].reg_val << ADC_FS_I2S1, ac108);
|
ac108_multi_chips_update_bits(ADC_SPRC, 0x0f << ADC_FS_I2S1, ac108_sample_rate[rate].reg_val << ADC_FS_I2S1, ac108);
|
||||||
ac108_multi_chips_write(HPF_EN,0x0f,ac108);
|
ac108_multi_chips_write(HPF_EN,0x0f,ac108);
|
||||||
ac108_configure_clocking(ac108, rate);
|
ac108_configure_clocking(ac108, ac108_sample_rate[rate].real_val);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue