]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ASoC: fsl-asoc-card: Add comment for mclk in the codec_priv
authorHui Wang <hui.wang@canonical.com>
Sat, 7 Oct 2023 04:01:17 +0000 (12:01 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 12 Oct 2023 19:30:46 +0000 (20:30 +0100)
Otherwise a warning will be detected as below:
warning: Function parameter or member 'mclk' not described in
'codec_priv'

Fixes: 1075df4bdeb3 ("ASoC: fsl-asoc-card: add nau8822 support")
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Link: https://lore.kernel.org/r/20231007040117.22446-1-hui.wang@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl-asoc-card.c

index 0957ff7c55c2f2d108afd3f6fed5eb0a453f4d46..7518ab9d768e95e954954573e37fdc3a5b8f2197 100644 (file)
@@ -41,6 +41,7 @@
 
 /**
  * struct codec_priv - CODEC private data
+ * @mclk: Main clock of the CODEC
  * @mclk_freq: Clock rate of MCLK
  * @free_freq: Clock rate of MCLK for hw_free()
  * @mclk_id: MCLK (or main clock) id for set_sysclk()