Fwd: [PATCH] snd/soc: correct trivial kernel-doc inconsistency

Colton Lewis colton.w.lewis at protonmail.com
Sun Jun 21 04:09:45 CEST 2020


Can some please accept or comment on this patch?

----------  Forwarded Message  ----------

Subject: [PATCH] snd/soc: correct trivial kernel-doc inconsistency
Date: Saturday, June 13, 2020, 9:29:08 PM CDT
From: Colton Lewis <colton.w.lewis at protonmail.com>
To: lgirdwood at gmail.com
CC: trivial at kernel.org, Colton Lewis <colton.w.lewis at protonmail.com>



Silence documentation build warning by correcting kernel-doc comment
for snd_soc_runtime_action.

./sound/soc/soc-pcm.c:220: warning: Function parameter or member 'action' not described in 'snd_soc_runtime_action'

Signed-off-by: Colton Lewis <colton.w.lewis at protonmail.com>
---
 sound/soc/soc-pcm.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/soc/soc-pcm.c b/sound/soc/soc-pcm.c
index 2c114b4542ce..9ab376844ac1 100644
--- a/sound/soc/soc-pcm.c
+++ b/sound/soc/soc-pcm.c
@@ -208,6 +208,7 @@ static inline void dpcm_remove_debugfs_state(struct snd_soc_dpcm *dpcm)
  * PCM runtime components
  * @rtd: ASoC PCM runtime that is activated
  * @stream: Direction of the PCM stream
+ * @action: Activate stream if 1. Deactivate if -1.
  *
  * Increments/Decrements the active count for all the DAIs and components
  * attached to a PCM runtime.
-- 
2.26.2


-----------------------------------------





More information about the Alsa-devel mailing list