aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/soc/soc-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index 68edc693a8a5..1dc4b11c1988 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1830,7 +1830,7 @@ static void snd_soc_instantiate_card(struct snd_soc_card *card)
1830 if (ret < 0) { 1830 if (ret < 0) {
1831 printk(KERN_ERR "asoc: failed to register AC97 %s\n", card->name); 1831 printk(KERN_ERR "asoc: failed to register AC97 %s\n", card->name);
1832 while (--i >= 0) 1832 while (--i >= 0)
1833 soc_unregister_ac97_dai_link(&card->rtd[i]); 1833 soc_unregister_ac97_dai_link(card->rtd[i].codec);
1834 goto probe_aux_dev_err; 1834 goto probe_aux_dev_err;
1835 } 1835 }
1836 } 1836 }