ASoC: RX1950: Enable Mic Jack during glue driver init
authorVasily Khoruzhick <anarsoul@gmail.com>
Thu, 6 Jan 2011 20:15:49 +0000 (22:15 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 10 Jan 2011 11:47:49 +0000 (11:47 +0000)
Enable Mic Jack during glue driver init, otherwise capture will not work.

Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/samsung/rx1950_uda1380.c

index 5a4587e02886908ca210af6e967b0890c8b9e6ed..f40027445dda255edffd3637a44602f002683de2 100644 (file)
@@ -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);