Skip to contentSkip to conversation

fix typo and snd_pcm_lib_malloc_pages comment

PATCH New Kirill Smelkov 1 participant 1 message Jan 12, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix typo and snd_pcm_lib_malloc_pages comment

Index: alsa-kernel/core/pcm_memory.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_memory.c,v retrieving revision 1.33

core/pcm_memory.c +1 -1
diff -u -r1.33 pcm_memory.c
@@ -291,7 +291,7 @@
  * @substream: the substream to allocate the DMA buffer to
  * @size: the requested buffer size in bytes
  *
- * Allocates the DMA buffer on the BUS type given by
+ * Allocates the DMA buffer on the BUS type given earlier to
  * snd_pcm_lib_preallocate_xxx_pages().
  *
  * Returns 1 if the buffer is changed, 0 if not changed, or a negative

Index: alsa-lib/src/pcm/pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/pcm/pcm.c,v
retrieving revision 1.294

src/pcm/pcm.c +1 -1
diff -u -r1.294 pcm.c
@@ -410,7 +410,7 @@
 if successfully finishes, otherwise the state #SND_PCM_STATE_OPEN
 is entered.
 When it is brought to SETUP state, this function automatically
-calls #snd_pcm_prepar() function to bring to the PREPARE state
+calls #snd_pcm_prepare() function to bring to the PREPARE state
 as below.
 
 \par snd_pcm_prepare