diff options
author | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-12-06 13:02:39 -0700 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2013-02-12 10:46:54 -0700 |
commit | 734ce5be056add6324b1d08fdef99cf860e66b8a (patch) | |
tree | fc7b9a47f9cc31d1e1ce2a2b38db7d63254c876d /sound | |
parent | d3786dce2b0d362af35b26b3ff47211cd0ae3b12 (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, |