diff options
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-dapm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c index 8b61db2f6398..620d7ea3c15f 100644 --- a/sound/soc/soc-dapm.c +++ b/sound/soc/soc-dapm.c | |||
@@ -971,7 +971,6 @@ int snd_soc_dapm_new_widgets(struct snd_soc_codec *codec) | |||
971 | { | 971 | { |
972 | struct snd_soc_dapm_widget *w; | 972 | struct snd_soc_dapm_widget *w; |
973 | 973 | ||
974 | mutex_lock(&codec->mutex); | ||
975 | list_for_each_entry(w, &codec->dapm_widgets, list) | 974 | list_for_each_entry(w, &codec->dapm_widgets, list) |
976 | { | 975 | { |
977 | if (w->new) | 976 | if (w->new) |
@@ -1006,7 +1005,6 @@ int snd_soc_dapm_new_widgets(struct snd_soc_codec *codec) | |||
1006 | } | 1005 | } |
1007 | 1006 | ||
1008 | dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP); | 1007 | dapm_power_widgets(codec, SND_SOC_DAPM_STREAM_NOP); |
1009 | mutex_unlock(&codec->mutex); | ||
1010 | return 0; | 1008 | return 0; |
1011 | } | 1009 | } |
1012 | EXPORT_SYMBOL_GPL(snd_soc_dapm_new_widgets); | 1010 | EXPORT_SYMBOL_GPL(snd_soc_dapm_new_widgets); |