projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e7c5b3
)
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
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 20 Nov 2023 10:59:20 +0000
(11:59 +0100)
[ Upstream commit
fbfe616ad40c06d68b83b657a94cd2e709dda37b
]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/fsl/fsl-asoc-card.c
patch
|
blob
|
history
diff --git
a/sound/soc/fsl/fsl-asoc-card.c
b/sound/soc/fsl/fsl-asoc-card.c
index
bab7d34
..
5f181b8
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()