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 accdcb7d4d9..1d6a80c9f4c 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c | |||
@@ -3113,6 +3113,7 @@ int snd_soc_register_card(struct snd_soc_card *card) | |||
3113 | GFP_KERNEL); | 3113 | GFP_KERNEL); |
3114 | if (card->rtd == NULL) | 3114 | if (card->rtd == NULL) |
3115 | return -ENOMEM; | 3115 | return -ENOMEM; |
3116 | card->num_rtd = 0; | ||
3116 | card->rtd_aux = &card->rtd[card->num_links]; | 3117 | card->rtd_aux = &card->rtd[card->num_links]; |
3117 | 3118 | ||
3118 | for (i = 0; i < card->num_links; i++) | 3119 | for (i = 0; i < card->num_links; i++) |