patch-2.0.3 linux/drivers/sound/dmabuf.c

Next file: linux/drivers/sound/dmasound.c
Previous file: linux/drivers/sound/dev_table.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.2/linux/drivers/sound/dmabuf.c linux/drivers/sound/dmabuf.c
@@ -83,7 +83,7 @@
       sz /= 8;			/* #bits -> #bytes */
 
       /*
-         * Compute a buffer size for time not exeeding 1 second.
+         * Compute a buffer size for time not exceeding 1 second.
          * Usually this algorithm gives a buffer size for 0.5 to 1.0 seconds
          * of sound (using the current speed, sample size and #channels).
        */
@@ -120,8 +120,8 @@
   else
     {
       /*
-         * The process has specified the buffer sice with SNDCTL_DSP_SETFRAGMENT or
-         * the buffer sice computation has already been done.
+         * The process has specified the buffer size with SNDCTL_DSP_SETFRAGMENT or
+         * the buffer size computation has already been done.
        */
       if (dmap->fragment_size > (audio_devs[dev]->buffsize / 2))
 	dmap->fragment_size = (audio_devs[dev]->buffsize / 2);
@@ -661,7 +661,7 @@
     }
 
   if (dmap->subdivision != 0 ||
-      dmap->fragment_size)	/* Loo late to change */
+      dmap->fragment_size)	/* Too late to change */
     return -(EINVAL);
 
   if (fact > MAX_REALTIME_FACTOR)
@@ -683,7 +683,7 @@
     return -(EIO);
 
   if (dmap->subdivision != 0 ||
-      dmap->fragment_size)	/* Loo late to change */
+      dmap->fragment_size)	/* Too late to change */
     return -(EINVAL);
 
   bytes = fact & 0xffff;
@@ -1273,7 +1273,7 @@
     restart = 1;
 
 /*
- * Bypass buffering if using mmaped access
+ * Bypass buffering if using mmapped access
  */
 
   if (audio_devs[dev]->dmap_out->mapping_flags & DMA_MAP_MAPPED)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov