[alsa-devel] [PATCH 1/1] ASoC: Serialize access to dapm_power_widgets()

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Oct 13 14:30:44 CEST 2009


On Mon, Oct 12, 2009 at 08:41:59AM +0300, ext-eero.nurkkala at nokia.com wrote:

>  		}
>  	}
> -	mutex_unlock(&codec->mutex);
>  
>  	dapm_power_widgets(codec, event);
> +	mutex_unlock(&codec->mutex);
>  	dump_dapm(codec, __func__);
>  	return 0;
>  }

I would've said we should protect dump_dapm() here too but since it's
built out by default and I intend to kill it shortly there's no point in
respinning for that so I'll apply this - thanks!


More information about the Alsa-devel mailing list