From: Wolfram Sang Date: Sun, 17 Jul 2011 16:00:26 +0000 (+0200) Subject: ASoC: core: make comments fit the code X-Git-Tag: v3.3~34^2~936 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1c8371d61e3a8e65fe6ef4ac535d1cd6d8ec7650;p=platform%2Fkernel%2Flinux-amlogic.git 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 Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 93109a4..83ad8ca 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -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); }