aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/soc-core.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r--sound/soc/soc-core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 32d7d2f8147c..32bc50387f61 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1032,6 +1032,7 @@ static int soc_post_component_init(struct snd_soc_card *card,
1032 rtd->dev.parent = card->dev; 1032 rtd->dev.parent = card->dev;
1033 rtd->dev.release = rtd_release; 1033 rtd->dev.release = rtd_release;
1034 rtd->dev.init_name = name; 1034 rtd->dev.init_name = name;
1035 mutex_init(&rtd->pcm_mutex);
1035 ret = device_register(&rtd->dev); 1036 ret = device_register(&rtd->dev);
1036 if (ret < 0) { 1037 if (ret < 0) {
1037 dev_err(card->dev, 1038 dev_err(card->dev,