Skip to content

Commit

Permalink
ASoC: codecs: ES8326: input issue after init
Browse files Browse the repository at this point in the history
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>
Link: https://patch.msgid.link/20240807025356.24904-3-zhangyi@everest-semi.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Zhang Yi authored and Mark Brown committed Aug 8, 2024
1 parent 7063a71 commit be942e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sound/soc/codecs/es8326.c
Original file line number Diff line number Diff line change
Expand Up @@ -1068,6 +1068,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);
Expand Down

0 comments on commit be942e3

Please sign in to comment.