[alsa-devel] [PATCH v2 9/9] ASoC: sdp4430: No need to call dapm_pin_enable at init time
Peter Ujfalusi
peter.ujfalusi at ti.com
Mon Oct 10 14:34:16 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/sdp4430.c | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/sound/soc/omap/sdp4430.c b/sound/soc/omap/sdp4430.c
index ebe1bbb..cc3d792 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.
--
1.7.7
More information about the Alsa-devel
mailing list