diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-12-06 13:02:39 -0700 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-06-02 09:51:13 -0700 |
commit | 1012b75d9e3b37ac99365a5ef7c195653235ea58 (patch) | |
tree | b3eec82f9b35d6b7ac4e60d0d03e57537ff941cb /sound | |
parent | 530ff2fd8319b940ca1c089b6849f44a8659a863 (diff) |
sgtl5000: set default microphone gain to 2(30dB) to work with commodity PC mics
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/codecs/sgtl5000.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/sgtl5000.c b/sound/soc/codecs/sgtl5000.c index 384ce8d3d617..45191d16a8c3 100644 --- a/sound/soc/codecs/sgtl5000.c +++ b/sound/soc/codecs/sgtl5000.c @@ -1614,7 +1614,7 @@ static int sgtl5000_probe(struct snd_soc_codec *codec) SGTL5000_HP_ZCD_EN | SGTL5000_ADC_ZCD_EN); - snd_soc_write(codec, SGTL5000_CHIP_MIC_CTRL, 0); + snd_soc_write(codec, SGTL5000_CHIP_MIC_CTRL, 2); snd_soc_write(codec, SGTL5000_CHIP_DAC_VOL, 0x6060); snd_soc_write(codec, SGTL5000_CHIP_ANA_ADC_CTRL, |