[alsa-devel] [PATCH] ASoC: RX1950: Enable Mic Jack during glue driver init

Vasily Khoruzhick anarsoul at gmail.com
Thu Jan 6 21:15:49 CET 2011


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

Signed-off-by: Vasily Khoruzhick <anarsoul at gmail.com>
---
 sound/soc/samsung/rx1950_uda1380.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/sound/soc/samsung/rx1950_uda1380.c b/sound/soc/samsung/rx1950_uda1380.c
index 5a4587e..f400274 100644
--- a/sound/soc/samsung/rx1950_uda1380.c
+++ b/sound/soc/samsung/rx1950_uda1380.c
@@ -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);
 
-- 
1.7.3.2



More information about the Alsa-devel mailing list