projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7063a71
)
ASoC: codecs: ES8326: input issue after init
author
Zhang Yi
<zhangyi@everest-semi.com>
Wed, 7 Aug 2024 02:53:56 +0000
(10:53 +0800)
committer
Mark Brown
<broonie@kernel.org>
Thu, 8 Aug 2024 08:17:14 +0000
(09:17 +0100)
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>
sound/soc/codecs/es8326.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/es8326.c
b/sound/soc/codecs/es8326.c
index 60877116c0ef654cfd599276e12f2529c6bc7653..132aed28b1aa4caf94cc887d4121d34d9646d017 100644
(file)
--- a/
sound/soc/codecs/es8326.c
+++ b/
sound/soc/codecs/es8326.c
@@
-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);