0x20, 0x00);
}
regv = snd_soc_component_read32(codec, ES8311_SYSTEM_REG14) & 0xCF;
- regv |= 0x1A;
+ regv |= 0x18;
snd_soc_component_write(codec, ES8311_SYSTEM_REG14, regv);
if(es8311->dmic_enable == true) {
snd_soc_component_update_bits(codec, ES8311_SYSTEM_REG14,
snd_soc_component_update_bits(codec, ES8311_CLK_MANAGER_REG06,
0x20, 0x00);
}
- snd_soc_component_write(codec, ES8311_SYSTEM_REG14, 0x1A);
+ snd_soc_component_write(codec, ES8311_SYSTEM_REG14, 0x18);
if(es8311->dmic_enable == true) {
snd_soc_component_update_bits(codec, ES8311_SYSTEM_REG14,
0x40, 0x40);
snd_soc_component_update_bits(codec, ES8311_CLK_MANAGER_REG06,
0x20, 0x00);
}
- snd_soc_component_write(codec, ES8311_SYSTEM_REG14, 0x1A);
+ snd_soc_component_write(codec, ES8311_SYSTEM_REG14, 0x18);
if(es8311->dmic_enable == true) {
snd_soc_component_update_bits(codec, ES8311_SYSTEM_REG14,
0x40, 0x40);
#ifndef __SND_CONFIG_H__
#ifdef CONFIG_SOUND_CODEC_ES8311
-#define SND_CODEC_DEFALT_ADC_GAIN 0xCF//0xBF
+#define SND_CODEC_DEFALT_ADC_GAIN 0xC1//0xBF
#define SND_CODEC_DEFALT_DAC_GAIN 0xBF
#define SND_CODEC_DMIC_EN 0
#define SND_CODEC_MCLK_INV 0