From: Mark Brown Date: Fri, 23 Sep 2011 15:23:11 +0000 (+0100) Subject: ASoC: Add support for on-board analogue microphones on Speyside WM8962 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=7564463c64e824a9cf545bcfbfbe6f159a5b9d8c;p=linux-beck.git ASoC: Add support for on-board analogue microphones on Speyside WM8962 Signed-off-by: Mark Brown --- diff --git a/sound/soc/samsung/speyside_wm8962.c b/sound/soc/samsung/speyside_wm8962.c index 35539eb8fa09..10c06dc0d8c0 100644 --- a/sound/soc/samsung/speyside_wm8962.c +++ b/sound/soc/samsung/speyside_wm8962.c @@ -141,6 +141,7 @@ static struct snd_soc_dapm_widget widgets[] = { SND_SOC_DAPM_MIC("Headset Mic", NULL), SND_SOC_DAPM_MIC("DMIC", NULL), + SND_SOC_DAPM_MIC("AMIC", NULL), SND_SOC_DAPM_SPK("Main Speaker", NULL), }; @@ -156,6 +157,10 @@ static struct snd_soc_dapm_route audio_paths[] = { { "IN4L", NULL, "Headset Mic" }, { "IN4R", NULL, "Headset Mic" }, + { "AMIC", NULL, "MICBIAS" }, + { "IN1L", NULL, "AMIC" }, + { "IN1R", NULL, "AMIC" }, + { "DMIC", NULL, "MICBIAS" }, { "DMICDAT", NULL, "DMIC" }, };