[alsa-devel] [PATCH] ASoC: core: make comments fit the code

Liam Girdwood lrg at ti.com
Mon Jul 18 14:03:25 CEST 2011


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 at pengutronix.de>
> Cc: Liam Girdwood <lrg at ti.com>
> Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>

Acked-by: Liam Girdwood <lrg at 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 */
> +		/* 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);
>  	}



More information about the Alsa-devel mailing list