summaryrefslogtreecommitdiffstats
path: root/sound/core/isadma.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2022-07-13 12:47:59 +0200
committerTakashi Iwai <tiwai@suse.de>2022-07-13 13:42:38 +0200
commit281dee6707a869e0f40cac81b6b65c703192aa9d (patch)
treea7b67be8f96781036ff3ac43c0b676ba4b3c67e0 /sound/core/isadma.c
parent6eba99d4ce2487f2050b8787029cabfcfb748ee4 (diff)
downloadlinux-stable-281dee6707a869e0f40cac81b6b65c703192aa9d.tar.gz
linux-stable-281dee6707a869e0f40cac81b6b65c703192aa9d.tar.bz2
linux-stable-281dee6707a869e0f40cac81b6b65c703192aa9d.zip
ALSA: core: 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 the remaining ALSA core API functions. Link: https://lore.kernel.org/r/20220713104759.4365-8-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core/isadma.c')
-rw-r--r--sound/core/isadma.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/core/isadma.c b/sound/core/isadma.c
index 1f45ede023b4..2602246bd5a0 100644
--- a/sound/core/isadma.c
+++ b/sound/core/isadma.c
@@ -116,8 +116,9 @@ static void __snd_release_dma(struct device *dev, void *data)
* @dma: the dma number
* @name: the name string of the requester
*
- * Returns zero on success, or a negative error code.
* The requested DMA will be automatically released at unbinding via devres.
+ *
+ * Return: zero on success, or a negative error code
*/
int snd_devm_request_dma(struct device *dev, int dma, const char *name)
{