aboutsummaryrefslogtreecommitdiffstats
path: root/include/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-07-13 12:47:55 +0200
committerTakashi Iwai <tiwai@suse.de>2022-07-13 13:42:35 +0200
commit5c121d6362d60198d9e37429f87e87d5477e3555 (patch)
tree9cc20969e676e52dc7a09b47daafe267aedc6179 /include/sound
parentALSA: pcm: Fix missing return value comments for kernel docs (diff)
downloadlinux-dev-5c121d6362d60198d9e37429f87e87d5477e3555.tar.xz
linux-dev-5c121d6362d60198d9e37429f87e87d5477e3555.zip
ALSA: dmaengine: Fix missing return value comments for kernel docs
Each kernel doc comment expects the definition of the return value in a proper format. This patch adds or fixes the missing entries for PCM dmaengine API. Link: https://lore.kernel.org/r/20220713104759.4365-4-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/dmaengine_pcm.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/sound/dmaengine_pcm.h b/include/sound/dmaengine_pcm.h
index 38ea046e653c..2df54cf02cb3 100644
--- a/include/sound/dmaengine_pcm.h
+++ b/include/sound/dmaengine_pcm.h
@@ -15,6 +15,8 @@
* snd_pcm_substream_to_dma_direction - Get dma_transfer_direction for a PCM
* substream
* @substream: PCM substream
+ *
+ * Return: DMA transfer direction
*/
static inline enum dma_transfer_direction
snd_pcm_substream_to_dma_direction(const struct snd_pcm_substream *substream)