summaryrefslogtreecommitdiff
path: root/sound/core
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2021-10-19 09:05:36 +0300
committerTakashi Iwai <tiwai@suse.de>2021-10-19 09:07:41 +0300
commitf917c04fac45b70ff38633675f86ab4b51782205 (patch)
tree03c97376257df9de0c788413568e02280d672dfe /sound/core
parent7d2a0df24227337cf42b024c91708f542ca4ff90 (diff)
downloadlinux-f917c04fac45b70ff38633675f86ab4b51782205.tar.xz
ALSA: memalloc: Fix a typo in snd_dma_buffer_sync() description
It caused a warning for kernel-doc build. Fixes: a25684a95646 ("ALSA: memalloc: Support for non-contiguous page allocation") Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Link: https://lore.kernel.org/r/20211019165402.4fa82c38@canb.auug.org.au Link: https://lore.kernel.org/r/20211019060536.26089-2-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/core')
-rw-r--r--sound/core/memalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/core/memalloc.c b/sound/core/memalloc.c
index acdebecf1a2e..99cd0f67daa1 100644
--- a/sound/core/memalloc.c
+++ b/sound/core/memalloc.c
@@ -196,7 +196,7 @@ EXPORT_SYMBOL(snd_dma_buffer_mmap);
/**
* snd_dma_buffer_sync - sync DMA buffer between CPU and device
* @dmab: buffer allocation information
- * @mod: sync mode
+ * @mode: sync mode
*/
void snd_dma_buffer_sync(struct snd_dma_buffer *dmab,
enum snd_dma_sync_mode mode)