summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorManoj Gangwal <mgangwal@nvidia.com>2012-08-22 22:18:44 +0530
committerDan Willemsen <dwillemsen@nvidia.com>2013-09-14 12:32:37 -0700
commit717a20477d08f3b6d01bc3273d29456a2c90a119 (patch)
treea28783abf8e074a28c8859ca2ebd9a89169e2743 /sound
parent1276db86fc52f298ed4f6948282d3c1d9bfd58f4 (diff)
asoc: aic326x machine: Add support for D-Mic
Bug 1034241 Change-Id: I205a74a8f27237470a3cd1266bb925971654459c Signed-off-by: Manoj Gangwal <mgangwal@nvidia.com> Reviewed-on: http://git-master/r/125280 Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com> Rebase-Id: R96fd94585f9ecc3027844b825836151bea0bf1ad
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_aic326x.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/soc/tegra/tegra_aic326x.c b/sound/soc/tegra/tegra_aic326x.c
index 59772f96bb83..1cbe47101133 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"}, */