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

Liam Girdwood lrg at slimlogic.co.uk
Sun Jan 9 14:58:17 CET 2011


On Thu, 2011-01-06 at 22:15 +0200, Vasily Khoruzhick wrote:
> 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);
>  
Acked-by: Liam Girdwood <lrg at slimlogic.co.uk>
-- 
Freelance Developer, SlimLogic Ltd
ASoC and Voltage Regulator Maintainer.
http://www.slimlogic.co.uk



More information about the Alsa-devel mailing list