aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
Diffstat (limited to 'sound')
-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 9085b40fa04b..ca89c782132d 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1368,6 +1368,7 @@ int snd_soc_new_ac97_codec(struct snd_soc_codec *codec,
1368 1368
1369 codec->ac97->bus->ops = ops; 1369 codec->ac97->bus->ops = ops;
1370 codec->ac97->num = num; 1370 codec->ac97->num = num;
1371 codec->dev = &codec->ac97->dev;
1371 mutex_unlock(&codec->mutex); 1372 mutex_unlock(&codec->mutex);
1372 return 0; 1373 return 0;
1373} 1374}