[alsa-devel] [PATCH 17/19] ASoC: mrst_machine: make MIC2 pseudo-differential
Lu Guanqun
guanqun.lu at intel.com
Wed May 4 15:46:19 CEST 2011
The Moorestown uses MIC2 pseudo-differential configuration.
Signed-off-by: Lu Guanqun <guanqun.lu at intel.com>
---
sound/soc/mid-x86/mrst_machine.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/sound/soc/mid-x86/mrst_machine.c b/sound/soc/mid-x86/mrst_machine.c
index 5f19df5..7ea5bc5 100644
--- a/sound/soc/mid-x86/mrst_machine.c
+++ b/sound/soc/mid-x86/mrst_machine.c
@@ -163,6 +163,9 @@ static int mrst_audio_init(struct snd_soc_pcm_runtime *runtime)
/* DMIC configuration: mono output to PCM2 */
snd_soc_update_bits(codec, UPD9976_MICCTRL, BIT(1)|BIT(0), 0x1);
+ /* Set MIC2 to pseudo-differential */
+ snd_soc_update_bits(codec, UPD9976_MICSELVOL, BIT(4), BIT(4));
+
ret = snd_soc_dapm_new_controls(dapm,
mrst_audio_widgets,
ARRAY_SIZE(mrst_audio_widgets));
More information about the Alsa-devel
mailing list