[alsa-devel] [PATCH] 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 Cc: Liam Girdwood lrg@ti.com Cc: Mark Brown broonie@opensource.wolfsonmicro.com --- 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 d75043e..ba95444 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1631,7 +1631,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num) } } 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); }
@@ -1672,7 +1672,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num) } }
- /* 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); }
On 17/07/11 17:00, Wolfram Sang wrote:
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 Cc: Liam Girdwood lrg@ti.com Cc: Mark Brown broonie@opensource.wolfsonmicro.com
Acked-by: Liam Girdwood lrg@ti.com
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 d75043e..ba95444 100644 --- a/sound/soc/soc-core.c +++ b/sound/soc/soc-core.c @@ -1631,7 +1631,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num) } } cpu_dai->probed = 1;
/* mark cpu_dai as probed and add to card cpu_dai list */
list_add(&cpu_dai->card_list, &card->dai_dev_list); }/* mark cpu_dai as probed and add to card dai list */
@@ -1672,7 +1672,7 @@ static int soc_probe_dai_link(struct snd_soc_card *card, int num) } }
/* mark cpu_dai as probed and add to card cpu_dai list */
codec_dai->probed = 1; list_add(&codec_dai->card_list, &card->dai_dev_list); }/* mark codec_dai as probed and add to card dai list */
participants (3)
-
Liam Girdwood
-
Mark Brown
-
Wolfram Sang