summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 355ccc95f28b..5811d053ce7a 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -2679,6 +2679,8 @@ static inline char *fmt_multiple_name(struct device *dev,
void snd_soc_unregister_dai(struct snd_soc_dai *dai)
{
+ lockdep_assert_held(&client_mutex);
+
dev_dbg(dai->dev, "ASoC: Unregistered DAI '%s'\n", dai->name);
list_del(&dai->list);
}