summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Nelson <eric.nelson@boundarydevices.com>2012-12-06 13:02:39 -0700
committerEric Nelson <eric.nelson@boundarydevices.com>2012-12-06 14:19:31 -0700
commit705bf588e42b02ff7a1bc92c7e6dbf0d54ec3bea (patch)
tree6200153cb9b666053e7d23db769ef72d277e827e
parente961b2e524f58d06da7fec01a9fe2800fed7a9bc (diff)
sgtl5000: set default microphone gain to 2(30dB) to work with commodity PC mics
-rw-r--r--sound/soc/codecs/sgtl5000.c2
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,