diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index aa327c92480c56c2609699380594a75ad765fbda..a47a8ce7a5ea04f2cc98677c4b349635071b1a73 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c @@ -389,8 +389,8 @@ static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, data->value = template.on_val; - data->widget = snd_soc_dapm_new_control(widget->dapm, - &template); + data->widget = snd_soc_dapm_new_control_unlocked( + widget->dapm, &template); if (!data->widget) { ret = -ENOMEM; goto err_name;