mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
ASoC: core: make comments fit the code
In one comment, cpu_dai was mentioned although codec_dai was used in the code. Also, fix the name for the card dai list which has no seperation into card_dai and codec_dai. Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Acked-by: Liam Girdwood <lrg@ti.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
7be4ba24a3
commit
1c8371d61e
@ -1141,7 +1141,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num, int order)
|
||||
}
|
||||
}
|
||||
cpu_dai->probed = 1;
|
||||
/* mark cpu_dai as probed and add to card cpu_dai list */
|
||||
/* mark cpu_dai as probed and add to card dai list */
|
||||
list_add(&cpu_dai->card_list, &card->dai_dev_list);
|
||||
}
|
||||
|
||||
@ -1172,7 +1172,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num, int order)
|
||||
}
|
||||
}
|
||||
|
||||
/* mark cpu_dai as probed and add to card cpu_dai list */
|
||||
/* mark codec_dai as probed and add to card dai list */
|
||||
codec_dai->probed = 1;
|
||||
list_add(&codec_dai->card_list, &card->dai_dev_list);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user