[alsa-devel] [PATCH v2 7/9] ASoC: zoom2: No need to call dapm_pin_enable at init time
Peter Ujfalusi
peter.ujfalusi at ti.com
Mon Oct 10 14:34:14 CEST 2011
Widgets are connected by default.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>
Cc: Misael Lopez Cruz <misael.lopez at ti.com>
---
sound/soc/omap/zoom2.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
diff --git a/sound/soc/omap/zoom2.c b/sound/soc/omap/zoom2.c
index 4d01e16..7cf35c8 100644
--- a/sound/soc/omap/zoom2.c
+++ b/sound/soc/omap/zoom2.c
@@ -99,13 +99,6 @@ static int zoom2_twl4030_init(struct snd_soc_pcm_runtime *rtd)
struct snd_soc_codec *codec = rtd->codec;
struct snd_soc_dapm_context *dapm = &codec->dapm;
- /* Zoom2 connected pins */
- snd_soc_dapm_enable_pin(dapm, "Ext Mic");
- snd_soc_dapm_enable_pin(dapm, "Ext Spk");
- snd_soc_dapm_enable_pin(dapm, "Headset Mic");
- snd_soc_dapm_enable_pin(dapm, "Headset Stereophone");
- snd_soc_dapm_enable_pin(dapm, "Aux In");
-
/* TWL4030 not connected pins */
snd_soc_dapm_nc_pin(dapm, "CARKITMIC");
snd_soc_dapm_nc_pin(dapm, "DIGIMIC0");
--
1.7.7
More information about the Alsa-devel
mailing list