aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/zoom2.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-10 08:34:14 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-10 11:18:11 -0400
commitcd4a3d5d0d1794ee08d716b5b88f46efa52f9a7d (patch)
tree2b4d7347bb300b5c8fbf02b336f16419933c21d7 /sound/soc/omap/zoom2.c
parent1083dbd1d75723960908f3d6bd32befb22944856 (diff)
ASoC: zoom2: No need to call dapm_pin_enable at init time
Widgets are connected by default. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Cc: Misael Lopez Cruz <misael.lopez@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/omap/zoom2.c')
-rw-r--r--sound/soc/omap/zoom2.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sound/soc/omap/zoom2.c b/sound/soc/omap/zoom2.c
index 4d01e16e036d..7cf35c82368a 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)
99 struct snd_soc_codec *codec = rtd->codec; 99 struct snd_soc_codec *codec = rtd->codec;
100 struct snd_soc_dapm_context *dapm = &codec->dapm; 100 struct snd_soc_dapm_context *dapm = &codec->dapm;
101 101
102 /* Zoom2 connected pins */
103 snd_soc_dapm_enable_pin(dapm, "Ext Mic");
104 snd_soc_dapm_enable_pin(dapm, "Ext Spk");
105 snd_soc_dapm_enable_pin(dapm, "Headset Mic");
106 snd_soc_dapm_enable_pin(dapm, "Headset Stereophone");
107 snd_soc_dapm_enable_pin(dapm, "Aux In");
108
109 /* TWL4030 not connected pins */ 102 /* TWL4030 not connected pins */
110 snd_soc_dapm_nc_pin(dapm, "CARKITMIC"); 103 snd_soc_dapm_nc_pin(dapm, "CARKITMIC");
111 snd_soc_dapm_nc_pin(dapm, "DIGIMIC0"); 104 snd_soc_dapm_nc_pin(dapm, "DIGIMIC0");