We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5ea19ab commit 5869734Copy full SHA for 5869734
sound/soc/meson/axg-card.c
@@ -104,7 +104,7 @@ static int axg_card_add_tdm_loopback(struct snd_soc_card *card,
104
int *index)
105
{
106
struct meson_card *priv = snd_soc_card_get_drvdata(card);
107
- struct snd_soc_dai_link *pad = &card->dai_link[*index];
+ struct snd_soc_dai_link *pad;
108
struct snd_soc_dai_link *lb;
109
struct snd_soc_dai_link_component *dlc;
110
int ret;
@@ -114,6 +114,7 @@ static int axg_card_add_tdm_loopback(struct snd_soc_card *card,
114
if (ret)
115
return ret;
116
117
+ pad = &card->dai_link[*index];
118
lb = &card->dai_link[*index + 1];
119
120
lb->name = devm_kasprintf(card->dev, GFP_KERNEL, "%s-lb", pad->name);
0 commit comments