From 3745839f5f25ac8de101827813bf305476033d35 Mon Sep 17 00:00:00 2001 From: Manoj Gangwal Date: Wed, 22 Aug 2012 22:18:44 +0530 Subject: asoc: aic326x machine: Add support for D-Mic Bug 1034241 Change-Id: I205a74a8f27237470a3cd1266bb925971654459c Signed-off-by: Manoj Gangwal Reviewed-on: http://git-master/r/125280 Reviewed-by: Simone Willett Tested-by: Simone Willett --- sound/soc/tegra/tegra_aic326x.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sound/soc/tegra/tegra_aic326x.c b/sound/soc/tegra/tegra_aic326x.c index 1b5598dc278c..de4a1457a7ae 100644 --- a/sound/soc/tegra/tegra_aic326x.c +++ b/sound/soc/tegra/tegra_aic326x.c @@ -973,6 +973,7 @@ static const struct snd_soc_dapm_widget tegra_aic326x_dapm_widgets[] = { SND_SOC_DAPM_INPUT("Ext Mic"), SND_SOC_DAPM_LINE("Linein", NULL), SND_SOC_DAPM_MIC("Int Mic", NULL), + SND_SOC_DAPM_MIC("DMIC", NULL), }; static const struct snd_soc_dapm_route aic326x_audio_map[] = { @@ -989,6 +990,10 @@ static const struct snd_soc_dapm_route aic326x_audio_map[] = { {"IN2R", NULL, "Mic Bias Int"}, {"IN1L", NULL, "Mic Bias Ext"}, {"Mic Bias Ext" ,NULL, "Mic Jack"}, + /* Connect LDMIC and RDMIC to DMIC widget*/ + {"Left DMIC", NULL, "Mic Bias Int"}, + {"Right DMIC", NULL, "Mic Bias Int"}, + {"Mic Bias Int", NULL, "Int Mic"}, /* {"CM1L" ,NULL, "Mic Jack"}, */ /* {"IN1L", NULL, "Mic Bias Ext"}, */ /* {"IN1L", NULL, "CM1L"}, */ -- cgit v1.2.3