ALSA: memalloc: Fix a typo in snd_dma_buffer_sync() description
authorTakashi Iwai <tiwai@suse.de>
Tue, 19 Oct 2021 06:05:36 +0000 (08:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 19 Oct 2021 06:07:41 +0000 (08:07 +0200)
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>
sound/core/memalloc.c

index acdebec..99cd0f6 100644 (file)
@@ -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)