summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorSimon Je <sje@nvidia.com>2013-04-22 21:06:29 +0900
committerMrutyunjay Sawant <msawant@nvidia.com>2013-04-24 04:10:28 -0700
commit0952936ca0d2e46e8707b437ccd7a8a6c11c7a97 (patch)
tree0b5e2a7e70588b0e90fdcfa5ab56b38d9611a0c4 /sound
parente721926c949d5816d1ab92bbaaf7b366d98c96da (diff)
asoc: tegra: Disable MIC_BIAS route
Tegratab doesn't have circuit to control MIC_BIAS by GPIO. Diable MIC_BIAS route in codec when built-in MIC(DMIC) is used to prevent noise. Bug 1273574 Change-Id: Iecc1f0e6a0f9b508d14acdf1c7dac9107c8748d9 Signed-off-by: Simon Je <sje@nvidia.com> Reviewed-on: http://git-master/r/221580 GVS: Gerrit_Virtual_Submit Reviewed-by: Scott Peterson <speterson@nvidia.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/tegra/tegra_rt5640.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_rt5640.c b/sound/soc/tegra/tegra_rt5640.c
index faa45d9e6606..0e5c2a593350 100644
--- a/sound/soc/tegra/tegra_rt5640.c
+++ b/sound/soc/tegra/tegra_rt5640.c
@@ -2,7 +2,7 @@
* tegra_rt5640.c - Tegra machine ASoC driver for boards using ALC5640 codec.
*
* Author: Johnny Qiu <joqiu@nvidia.com>
- * Copyright (C) 2011-2012, NVIDIA, Inc.
+ * Copyright (C) 2011-2013, NVIDIA, Inc.
*
* Based on code copyright/by:
*
@@ -551,9 +551,11 @@ static const struct snd_soc_dapm_route cardhu_audio_map[] = {
{"Int Spk", NULL, "SPOLP"},
{"Int Spk", NULL, "SPOLN"},
{"micbias1", NULL, "Mic Jack"},
+#if !defined(CONFIG_MACH_TEGRATAB)
{"IN1P", NULL, "micbias1"},
{"IN1N", NULL, "micbias1"},
{"micbias1", NULL, "Int Mic"},
+#endif
{"IN2P", NULL, "micbias1"},
{"DMIC L1", NULL, "Int Mic"},
{"DMIC L2", NULL, "Int Mic"},