mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
ASoC: codecs: ES8389: Modify the initial configuration
Modify the initial configuration Signed-off-by: Zhang Yi <zhangyi@everest-semi.com> Link: https://patch.msgid.link/20260630072311.8427-5-zhangyi@everest-semi.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
9367a244af
commit
3bea836903
|
|
@ -792,7 +792,7 @@ static void es8389_init(struct snd_soc_component *component)
|
|||
|
||||
regmap_read(es8389->regmap, ES8389_MAX_REGISTER, ®);
|
||||
es8389->version = reg;
|
||||
regmap_write(es8389->regmap, ES8389_ISO_CTL, 0x00);
|
||||
regmap_write(es8389->regmap, ES8389_ISO_CTL, 0x56);
|
||||
regmap_write(es8389->regmap, ES8389_RESET, 0x7E);
|
||||
regmap_write(es8389->regmap, ES8389_ISO_CTL, 0x38);
|
||||
regmap_write(es8389->regmap, ES8389_ADC_HPF1, 0x64);
|
||||
|
|
@ -844,7 +844,7 @@ static void es8389_init(struct snd_soc_component *component)
|
|||
regmap_write(es8389->regmap, ES8389_SCLK_DIV, 0x04);
|
||||
regmap_write(es8389->regmap, ES8389_LRCK_DIV1, 0x01);
|
||||
regmap_write(es8389->regmap, ES8389_LRCK_DIV2, 0x00);
|
||||
regmap_write(es8389->regmap, ES8389_OSC_CLK, 0x00);
|
||||
regmap_write(es8389->regmap, ES8389_OSC_CLK, 0x10);
|
||||
regmap_write(es8389->regmap, ES8389_ADC_OSR, 0x1F);
|
||||
regmap_write(es8389->regmap, ES8389_ADC_DSP, 0x7F);
|
||||
regmap_write(es8389->regmap, ES8389_ADC_MUTE, 0xC0);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user