codec: fixed codec tlv320adc3101 driver clk error on 48K and 16K
authorPeipeng Zhao <peipeng.zhao@amlogic.com>
Wed, 30 Aug 2017 09:32:43 +0000 (17:32 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Thu, 31 Aug 2017 01:34:39 +0000 (18:34 -0700)
PD#150168: fixed codec tlv320adc3101 record error on 48K and 16K

Change-Id: Ia672427de4c1a0e730eecdb00133d84640720785
Signed-off-by: Peipeng Zhao <peipeng.zhao@amlogic.com>
sound/soc/codecs/amlogic/tlv320adc3101.c

index 538039d..dbb6131 100644 (file)
@@ -162,10 +162,10 @@ static const struct adc3101_rate_divs adc3101_divs[] = {
        {ADC3101_FREQ_25000000, 48000, 2, 7, 8643, 128, 8, 2, 64, 8, 4, 4},
 
        {ADC3101_FREQ_2048000, 8000, 1, 4, 0, 128, 1, 1, 128, 1, 2, 1},
-       {ADC3101_FREQ_4096000, 16000, 4, 0, 128, 1, 1, 128, 1, 2, 1},
+       {ADC3101_FREQ_4096000, 16000, 1, 4, 0, 128, 1, 1, 128, 1, 2, 1},
        {ADC3101_FREQ_8192000, 32000, 1, 4, 0, 128, 1, 1, 128, 1, 2, 1},
        {ADC3101_FREQ_11289600, 44100, 1, 4, 0, 128, 1, 1, 128, 1, 2, 1},
-       {ADC3101_FREQ_12288000, 48000, 1, 4, 0, 128, 2, 1, 128, 2, 1, 1},
+       {ADC3101_FREQ_12288000, 48000, 1, 4, 0, 128, 2, 1, 128, 1, 2, 1},
 };
 
 static const struct snd_kcontrol_new hpl_output_mixer_controls[] = {