diff mbox series

[2/2] ASoC: codecs: ES8326: input issue after init

Message ID 20240807025356.24904-3-zhangyi@everest-semi.com
State Accepted
Commit be942e3d20cf666f6174f47826914c3b5ea61d85
Headers show
Series ASoC: codecs: ES8326: button and input issue | expand

Commit Message

Zhang Yi Aug. 7, 2024, 2:53 a.m. UTC
We found an input issue after initiation.So we added the default
input source at initiation.

Signed-off-by: Zhang Yi <zhangyi@everest-semi.com>
---
 sound/soc/codecs/es8326.c | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/sound/soc/codecs/es8326.c b/sound/soc/codecs/es8326.c
index 519bcd2ed00e..d5362b3be484 100755
--- a/sound/soc/codecs/es8326.c
+++ b/sound/soc/codecs/es8326.c
@@ -1070,6 +1070,8 @@  static void es8326_init(struct snd_soc_component *component)
 
 	regmap_write(es8326->regmap, ES8326_ADC_MUTE, 0x0f);
 	regmap_write(es8326->regmap, ES8326_CLK_DIV_LRCK, 0xff);
+	regmap_write(es8326->regmap, ES8326_ADC1_SRC, 0x44);
+	regmap_write(es8326->regmap, ES8326_ADC2_SRC, 0x66);
 	es8326_disable_micbias(es8326->component);
 
 	msleep(200);