summaryrefslogtreecommitdiffstats
path: root/sound/soc/omap/sdp4430.c
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2011-10-10 14:34:16 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-10-10 17:18:11 +0200
commitd8058469606bfd1b0d6fca830a997ba06f83e5dc (patch)
tree4de17ff705de1e19ab9aff8b469356a5eabe16df /sound/soc/omap/sdp4430.c
parentASoC: sdp4430: Let core to deal with the DAPM widgets (diff)
downloadlinux-d8058469606bfd1b0d6fca830a997ba06f83e5dc.tar.xz
linux-d8058469606bfd1b0d6fca830a997ba06f83e5dc.zip
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/soc/omap/sdp4430.c')
-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[] = {
static int sdp4430_twl6040_init(struct snd_soc_pcm_runtime *rtd)
{
struct snd_soc_codec *codec = rtd->codec;
- struct snd_soc_dapm_context *dapm = &codec->dapm;
int ret, hs_trim;
- /* SDP4430 connected pins */
- snd_soc_dapm_enable_pin(dapm, "Ext Mic");
- snd_soc_dapm_enable_pin(dapm, "Ext Spk");
- snd_soc_dapm_enable_pin(dapm, "AFML");
- snd_soc_dapm_enable_pin(dapm, "AFMR");
- snd_soc_dapm_enable_pin(dapm, "Headset Mic");
- snd_soc_dapm_enable_pin(dapm, "Headset Stereophone");
-
/*
* Configure McPDM offset cancellation based on the HSOTRIM value from
* twl6040.