Browse Source

ALSA: Documentation: fix some thinkos

Signed-off-by: Antonio Ospite <ao2@amarulasolutions.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Antonio Ospite 12 years ago
parent
commit
04044b819b
1 changed files with 3 additions and 4 deletions
  1. 3 4
      Documentation/DocBook/writing-an-alsa-driver.tmpl

+ 3 - 4
Documentation/DocBook/writing-an-alsa-driver.tmpl

@@ -871,9 +871,8 @@
       <para>
       <para>
       This function itself doesn't allocate the data space. The data
       This function itself doesn't allocate the data space. The data
       must be allocated manually beforehand, and its pointer is passed
       must be allocated manually beforehand, and its pointer is passed
-      as the argument. This pointer is used as the
-      (<parameter>chip</parameter> identifier in the above example)
-      for the instance. 
+      as the argument. This pointer (<parameter>chip</parameter> in the
+      above example) is used as the identifier for the instance.
       </para>
       </para>
 
 
       <para>
       <para>
@@ -2304,7 +2303,7 @@ struct _snd_pcm_runtime {
         <constant>SNDRV_PCM_INFO_XXX</constant>. Here, at least, you
         <constant>SNDRV_PCM_INFO_XXX</constant>. Here, at least, you
         have to specify whether the mmap is supported and which
         have to specify whether the mmap is supported and which
         interleaved format is supported.
         interleaved format is supported.
-        When the is supported, add the
+        When the hardware supports mmap, add the
         <constant>SNDRV_PCM_INFO_MMAP</constant> flag here. When the
         <constant>SNDRV_PCM_INFO_MMAP</constant> flag here. When the
         hardware supports the interleaved or the non-interleaved
         hardware supports the interleaved or the non-interleaved
         formats, <constant>SNDRV_PCM_INFO_INTERLEAVED</constant> or
         formats, <constant>SNDRV_PCM_INFO_INTERLEAVED</constant> or