ASoC: es8323: fixed adc record error

it has a high probability that es8323 record error, and fixed it.

Signed-off-by: XiaoTan Luo <lxt@rock-chips.com>
Change-Id: I57509a2f5ee04045bb2618a7c7ec11440030c4dc
This commit is contained in:
XiaoTan Luo
2020-07-24 09:52:42 +08:00
parent bf5afbeaf9
commit 099866c7c7

View File

@@ -814,7 +814,7 @@ static int es8323_probe(struct snd_soc_component *component)
snd_soc_component_write(component, 0x02, 0xf3);
snd_soc_component_write(component, 0x2B, 0x80);
snd_soc_component_write(component, 0x08, 0x00); /* ES8388 salve */
snd_soc_component_write(component, 0x00, 0x35);
snd_soc_component_write(component, 0x00, 0x15);
snd_soc_component_write(component, 0x01, 0x50); /* PLAYBACK & RECORD Mode,EnRefr=1 */
snd_soc_component_write(component, 0x03, 0x59); /* pdn_ana=0,ibiasgen_pdn=0 */
snd_soc_component_write(component, 0x05, 0x00); /* pdn_ana=0,ibiasgen_pdn=0 */
@@ -822,7 +822,7 @@ static int es8323_probe(struct snd_soc_component *component)
snd_soc_component_write(component, 0x07, 0x7c);
snd_soc_component_write(component, 0x09, 0x88); /* ADC L/R PGA = +24dB */
snd_soc_component_write(component, 0x0a, 0xf0); /* ADC INPUT=LIN2/RIN2 */
snd_soc_component_write(component, 0x0b, 0x82); /* ADC INPUT=LIN2/RIN2 */
snd_soc_component_write(component, 0x0b, 0x80); /* ADC INPUT=LIN2/RIN2 */
snd_soc_component_write(component, 0x0C, 0x4c); /* I2S-24BIT */
snd_soc_component_write(component, 0x0d, 0x02); /* MCLK/LRCK=256 */
snd_soc_component_write(component, 0x10, 0x00); /* ADC Left Volume=0db */