projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47c0949
)
ASoC: fsl-asoc-card: Add comment for mclk in the codec_priv
author
Hui Wang
<hui.wang@canonical.com>
Sat, 7 Oct 2023 04:01:17 +0000
(12:01 +0800)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/fsl/fsl-asoc-card.c
b/sound/soc/fsl/fsl-asoc-card.c
index 0957ff7c55c2f2d108afd3f6fed5eb0a453f4d46..7518ab9d768e95e954954573e37fdc3a5b8f2197 100644
(file)
--- a/
sound/soc/fsl/fsl-asoc-card.c
+++ b/
sound/soc/fsl/fsl-asoc-card.c
@@
-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()