From: John Watts Date: Tue, 26 Mar 2024 11:48:00 +0000 (+1100) Subject: ASoC: soc-dai: Note valid values of sysclock direction X-Git-Tag: v6.10-rc1~146^2~3^2~117 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1e90a846493c716e3e6b4d901fc0844e9eea6430;p=thirdparty%2Flinux.git ASoC: soc-dai: Note valid values of sysclock direction 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 Link: https://msgid.link/r/20240326-dai_mclk_hint-v1-1-653cbd2d78d9@jookia.org Signed-off-by: Mark Brown --- diff --git a/sound/soc/soc-dai.c b/sound/soc/soc-dai.c index 6f8773a8fc053..fefe394dce72d 100644 --- 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. */