From 3c4fc91f89e7567d273d2a28c9fb45fe7a0d4ca2 Mon Sep 17 00:00:00 2001 From: Baozhu Zuo Date: Mon, 9 Oct 2017 11:14:27 +0800 Subject: [PATCH] use the real rate value config clocking --- ac108.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ac108.c b/ac108.c index c4b79c2..fe1dfe1 100644 --- a/ac108.c +++ b/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_write(HPF_EN,0x0f,ac108); - ac108_configure_clocking(ac108, rate); + ac108_configure_clocking(ac108, ac108_sample_rate[rate].real_val); return 0; }