diff options
Diffstat (limited to 'sound/soc/soc-core.c')
-rw-r--r-- | sound/soc/soc-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 8d2ebf502df4..3a4e93e52b6d 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -3119,6 +3119,7 @@ int snd_soc_register_card(struct snd_soc_card *card) | |||
3119 | GFP_KERNEL); | 3119 | GFP_KERNEL); |
3120 | if (card->rtd == NULL) | 3120 | if (card->rtd == NULL) |
3121 | return -ENOMEM; | 3121 | return -ENOMEM; |
3122 | card->num_rtd = 0; | ||
3122 | card->rtd_aux = &card->rtd[card->num_links]; | 3123 | card->rtd_aux = &card->rtd[card->num_links]; |
3123 | 3124 | ||
3124 | for (i = 0; i < card->num_links; i++) | 3125 | for (i = 0; i < card->num_links; i++) |