← Back to team overview

ac100 team mailing list archive

Fwd: [PATCH 3/3] ASoC: tegra: Disabling Mic Bias DAPM pin

 

---------- Forwarded message ----------
From: Leon Romanovsky <leon@xxxxxxx>
Date: Tue, Oct 18, 2011 at 21:31
Subject: [PATCH 3/3] ASoC: tegra: Disabling Mic Bias DAPM pin
To: marvin24@xxxxxx
Cc: Leon Romanovsky <leon@xxxxxxx>


Forcing Mic Bias pin prevents from the codec to change power mode
and to enter to the suspend/resume states.

Signed-off-by: Leon Romanovsky <leon@xxxxxxx>
---
 sound/soc/tegra/paz00.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sound/soc/tegra/paz00.c b/sound/soc/tegra/paz00.c
index 9d8e1e6..62bd29a 100644
--- a/sound/soc/tegra/paz00.c
+++ b/sound/soc/tegra/paz00.c
@@ -160,7 +160,7 @@ static const struct snd_soc_dapm_route paz00_audio_map[] = {
       {"Headphone Jack", NULL, "HPL"},
       {"Int Spk", NULL, "HPL"},
       {"Int Spk", NULL, "SPKOUTN"},
-       {"Mic Bias1", NULL, "Mic Jack"},
+/*     {"Mic Bias1", NULL, "Mic Jack"}, */
 };

 static const struct snd_kcontrol_new paz00_controls[] = {
@@ -217,7 +217,7 @@ static int paz00_asoc_init(struct snd_soc_pcm_runtime *rtd)
       snd_soc_dapm_add_routes(dapm, paz00_audio_map,
                               ARRAY_SIZE(paz00_audio_map));

-       snd_soc_dapm_force_enable_pin(dapm, "Mic Bias1");
+/*     snd_soc_dapm_force_enable_pin(dapm, "Mic Bias1"); */

       snd_soc_dapm_nc_pin(dapm, "AUXOUT");
       snd_soc_dapm_nc_pin(dapm, "LINEINL");
--
1.7.3.4




-- 
Leon Romanovsky | Independent Linux Consultant
        www.leon.nu | leon@xxxxxxx