Skip to contentSkip to conversation

ASoC: RX1950: Enable Mic Jack during glue driver init

PATCH Applied Vasily Khoruzhick 4 participants 4 messages Jan 6, 2011 – Jan 10, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: RX1950: Enable Mic Jack during glue driver init

Enable Mic Jack during glue driver init, otherwise capture will not work.

---
 sound/soc/samsung/rx1950_uda1380.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/samsung/rx1950_uda1380.c +1 -0
index 5a4587e..f400274 100644
@@ -246,6 +246,7 @@ static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd)
 
 	snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
 	snd_soc_dapm_enable_pin(dapm, "Speaker");
+	snd_soc_dapm_enable_pin(dapm, "Mic Jack");
 
 	snd_soc_dapm_sync(dapm);
 
Signature · 1 line
1.7.3.2
Acked-by on v1 1/1
#2 lore raw
In reply to Vasily Khoruzhick
Quoted 12 lines · Vasily Khoruzhick

Enable Mic Jack during glue driver init, otherwise capture will not work.

---
 sound/soc/samsung/rx1950_uda1380.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
sound/soc/samsung/rx1950_uda1380.c +0 -0
index 5a4587e..f400274 100644

sound/soc/samsung/rx1950_uda1380.c static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd) · line 252

Quoted 7 lines
sound/soc/samsung/rx1950_uda1380.c +1 -0
@@ -246,6 +246,7 @@ static int rx1950_uda1380_init(struct snd_soc_pcm_runtime *rtd)
 
 	snd_soc_dapm_enable_pin(dapm, "Headphone Jack");
 	snd_soc_dapm_enable_pin(dapm, "Speaker");
+	snd_soc_dapm_enable_pin(dapm, "Mic Jack");
 
 	snd_soc_dapm_sync(dapm);
 
Signature · 3 lines
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk