ASoC: Add WM8962 microphone bias control
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 21 Sep 2010 16:53:38 +0000 (17:53 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 13 Oct 2010 09:36:57 +0000 (10:36 +0100)
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@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/codecs/wm8962.c

index e5009d0..894d0cd 100644 (file)
@@ -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" },