asoc: tegra: aic326x: turn the mic bias on for headset detction
Nikesh Oswal [Tue, 7 Feb 2012 18:24:53 +0000 (10:24 -0800)]
Change-Id: I3d2bb9de12f72fe7c860bdfe740a2d55676a8aa3
Signed-off-by: Nikesh Oswal <noswal@nvidia.com>
Reviewed-on: http://git-master/r/84533
Reviewed-by: Scott Peterson <speterson@nvidia.com>

sound/soc/tegra/tegra_aic326x.c

index 78dc3fb..80ef3ab 100644 (file)
@@ -931,8 +931,9 @@ static int tegra_aic326x_init(struct snd_soc_pcm_runtime *rtd)
        if (ret < 0)
                return ret;
 
-       snd_soc_dapm_nc_pin(dapm, "IN2L");
-       snd_soc_dapm_nc_pin(dapm, "IN2R");
+       //snd_soc_dapm_nc_pin(dapm, "IN2L");
+       //snd_soc_dapm_nc_pin(dapm, "IN2R");
+       snd_soc_dapm_force_enable_pin(dapm, "MICBIAS_EXT ON");
        snd_soc_dapm_sync(dapm);
 
        return 0;