Add MICBIAS routing entries for WM8904.
Tested on ATMEL's AT91SAM9N12-EK with a electret condenser microphone connected to IN1L.
Signed-off-by: Hong Xu hong.xu@atmel.com --- sound/soc/codecs/wm8904.c | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-)
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 285ef87..2158f30 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c @@ -1318,6 +1318,14 @@ static const struct snd_soc_dapm_route core_intercon[] = { };
static const struct snd_soc_dapm_route adc_intercon[] = { + { "MICBIAS", NULL, "IN1L" }, + { "MICBIAS", NULL, "IN1R" }, + + { "Left Capture Mux", NULL, "MICBIAS" }, + { "Right Capture Mux", NULL, "MICBIAS" }, + { "Left Capture Inverting Mux", NULL, "MICBIAS" }, + { "Right Capture Inverting Mux", NULL, "MICBIAS" }, + { "Left Capture Mux", "IN1L", "IN1L" }, { "Left Capture Mux", "IN2L", "IN2L" }, { "Left Capture Mux", "IN3L", "IN3L" },