aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-10 08:34:16 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-10 11:18:11 -0400
commitd8058469606bfd1b0d6fca830a997ba06f83e5dc (patch)
tree4de17ff705de1e19ab9aff8b469356a5eabe16df /sound
parentfc8e5b4c6bc4194b27644142d51d466ecd9f1bd0 (diff)
ASoC: sdp4430: 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')
-rw-r--r--sound/soc/omap/sdp4430.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c
index ebe1bbbeaffd..cc3d792af5ea 100644
--- a/sound/soc/omap/sdp4430.c
+++ b/sound/soc/omap/sdp4430.c
@@ -120,17 +120,8 @@ static const struct snd_soc_dapm_route audio_map[] = {
120static int sdp4430_twl6040_init(struct snd_soc_pcm_runtime *rtd) 120static int sdp4430_twl6040_init(struct snd_soc_pcm_runtime *rtd)
121{ 121{
122 struct snd_soc_codec *codec = rtd->codec; 122 struct snd_soc_codec *codec = rtd->codec;
123 struct snd_soc_dapm_context *dapm = &codec->dapm;
124 int ret, hs_trim; 123 int ret, hs_trim;
125 124
126 /* SDP4430 connected pins */
127 snd_soc_dapm_enable_pin(dapm, "Ext Mic");
128 snd_soc_dapm_enable_pin(dapm, "Ext Spk");
129 snd_soc_dapm_enable_pin(dapm, "AFML");
130 snd_soc_dapm_enable_pin(dapm, "AFMR");
131 snd_soc_dapm_enable_pin(dapm, "Headset Mic");
132 snd_soc_dapm_enable_pin(dapm, "Headset Stereophone");
133
134 /* 125 /*
135 * Configure McPDM offset cancellation based on the HSOTRIM value from 126 * Configure McPDM offset cancellation based on the HSOTRIM value from
136 * twl6040. 127 * twl6040.