[alsa-devel] [PATCH] ALSA: ASoC: Fix comment in cs4270 codec driver
Mark Brown
broonie at opensource.wolfsonmicro.com
Wed May 25 13:12:55 CEST 2011
On Wed, May 25, 2011 at 09:53:12AM +0200, Daniel Mack wrote:
> The comment does not reflect reality anymore since the multi-component
> monster patch landed. Things are matched by names now, and not by
> exporting and referencing a struct. Fix it to avoid confusion.
>
> Signed-off-by: Daniel Mack <zonque at gmail.com>
> Cc: Mark Brown <broonie at opensource.wolfsonmicro.com>
> Cc: Liam Girdwood <lrg at slimlogic.co.uk>
CCing in Timur for his review.
> ---
> sound/soc/codecs/cs4270.c | 5 +----
> 1 files changed, 1 insertions(+), 4 deletions(-)
>
> diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
> index 0206a17..6cc8678 100644
> --- a/sound/soc/codecs/cs4270.c
> +++ b/sound/soc/codecs/cs4270.c
> @@ -636,10 +636,7 @@ static int cs4270_soc_resume(struct snd_soc_codec *codec)
> #endif /* CONFIG_PM */
>
> /*
> - * ASoC codec device structure
> - *
> - * Assign this variable to the codec_dev field of the machine driver's
> - * snd_soc_device structure.
> + * ASoC codec driver structure
> */
> static const struct snd_soc_codec_driver soc_codec_device_cs4270 = {
> .probe = cs4270_probe,
> --
> 1.7.5.1
>
More information about the Alsa-devel
mailing list