summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorManoj Gangwal <mgangwal@nvidia.com>2012-08-22 22:18:44 +0530
committerSimone Willett <swillett@nvidia.com>2012-08-27 19:44:15 -0700
commit3745839f5f25ac8de101827813bf305476033d35 (patch)
tree21d14e344bd4b888d90fa96c3f3e4d928cebc210 /sound
parentb46de34ef8ed03c0bf57f3448a3187941b37cd65 (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>
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 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"}, */