[alsa-devel] [PATCH] ASoC: Add WM8962 microphone bias control

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Oct 12 20:37:17 CEST 2010


We unconditionally require SYSCLK since while only microphone detection
specifically requires SYSCLK any actual use case would enable it via
some other means but microphone detection may have nothing active other
than the bias itself.

Signed-off-by: Mark Brown <broonie at opensource.wolfsonmicro.com>
---
 sound/soc/codecs/wm8962.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/soc/codecs/wm8962.c b/sound/soc/codecs/wm8962.c
index e5009d0..894d0cd 100644
--- a/sound/soc/codecs/wm8962.c
+++ b/sound/soc/codecs/wm8962.c
@@ -2566,6 +2566,8 @@ static const struct snd_soc_dapm_route wm8962_intercon[] = {
 	{ "MIXINR", "IN3R Switch", "IN3R" },
 	{ "MIXINR", "PGA Switch", "INPGAR" },
 
+	{ "MICBIAS", NULL, "SYSCLK" },
+
 	{ "ADCL", NULL, "SYSCLK" },
 	{ "ADCL", NULL, "TOCLK" },
 	{ "ADCL", NULL, "MIXINL" },
-- 
1.7.1



More information about the Alsa-devel mailing list