diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2011-07-17 12:00:26 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-19 11:19:15 -0400 |
commit | 1c8371d61e3a8e65fe6ef4ac535d1cd6d8ec7650 (patch) | |
tree | 91fbec28508c8024f96b7faff24f4347d585044d /sound/soc | |
parent | 7be4ba24a3ea53bc8ade841635e4d4a59e98ceb5 (diff) |
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>
Diffstat (limited to 'sound/soc')
-rw-r--r-- | sound/soc/soc-core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c index 93109a4e2bc8..83ad8ca27490 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) | |||
1141 | } | 1141 | } |
1142 | } | 1142 | } |
1143 | cpu_dai->probed = 1; | 1143 | cpu_dai->probed = 1; |
1144 | /* mark cpu_dai as probed and add to card cpu_dai list */ | 1144 | /* mark cpu_dai as probed and add to card dai list */ |
1145 | list_add(&cpu_dai->card_list, &card->dai_dev_list); | 1145 | list_add(&cpu_dai->card_list, &card->dai_dev_list); |
1146 | } | 1146 | } |
1147 | 1147 | ||
@@ -1172,7 +1172,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num, int order) | |||
1172 | } | 1172 | } |
1173 | } | 1173 | } |
1174 | 1174 | ||
1175 | /* mark cpu_dai as probed and add to card cpu_dai list */ | 1175 | /* mark codec_dai as probed and add to card dai list */ |
1176 | codec_dai->probed = 1; | 1176 | codec_dai->probed = 1; |
1177 | list_add(&codec_dai->card_list, &card->dai_dev_list); | 1177 | list_add(&codec_dai->card_list, &card->dai_dev_list); |
1178 | } | 1178 | } |