[alsa-devel] [PATCH] ASoC: rt5640: change widgetsequencefordepop

Bard Liao bardliao at realtek.com
Wed Aug 7 03:32:08 CEST 2013


> Makes sense. So this should fix it, I guess:
> 
> --- a/sound/soc/soc-dapm.c
> +++ b/sound/soc/soc-dapm.c
> @@ -229,6 +229,8 @@ static int dapm_kcontrol_data_alloc(struct
>   			template.id = snd_soc_dapm_kcontrol;
>   			template.name = kcontrol->id.name;
> 
> +			data->value = template.on_val;
> +
>   			data->widget = snd_soc_dapm_new_control(widget->dapm,
>   				&template);
>   			if (!data->widget) {
> 

It works. Thanks.

> 
> 
> ------Please consider the environment before printing this e-mail.


More information about the Alsa-devel mailing list