diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index d8562ce4de7ab9ea5796e0521261fe520d8a3330..dd55d1069468d6a41dd60ae6263f26e3f4efca45 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -3291,6 +3291,8 @@ int snd_soc_register_card(struct snd_soc_card *card) if (!card->name || !card->dev) return -EINVAL; + dev_set_drvdata(card->dev, card); + snd_soc_initialize_card_lists(card); soc_init_card_debugfs(card);