projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea5fee2
)
ASoC: soc-dai: Note valid values of sysclock direction
author
John Watts
<contact@jookia.org>
Tue, 26 Mar 2024 11:48:00 +0000
(22:48 +1100)
committer
Mark Brown
<broonie@kernel.org>
Tue, 26 Mar 2024 12:51:23 +0000
(12:51 +0000)
Clock direction is marked as 'unsigned int' but only two values are
currently used in practice. Note these down in the documentation.
Signed-off-by: John Watts <contact@jookia.org>
Link:
https://msgid.link/r/20240326-dai_mclk_hint-v1-1-653cbd2d78d9@jookia.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-dai.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/soc-dai.c
b/sound/soc/soc-dai.c
index 6f8773a8fc053dffab7e2f7066f987222b1d91f8..fefe394dce72d79b1730fa637a8f79f5a954dbfd 100644
(file)
--- a/
sound/soc/soc-dai.c
+++ b/
sound/soc/soc-dai.c
@@
-45,7
+45,7
@@
static inline int _soc_dai_ret(struct snd_soc_dai *dai,
* @dai: DAI
* @clk_id: DAI specific clock ID
* @freq: new clock frequency in Hz
- * @dir: new clock direction
- input/output.
+ * @dir: new clock direction
(SND_SOC_CLOCK_IN or SND_SOC_CLOCK_OUT)
*
* Configures the DAI master (MCLK) or system (SYSCLK) clocking.
*/