[ALSA] Fix typos in document
authorTakashi Iwai <tiwai@suse.de>
Thu, 2 Mar 2006 14:35:55 +0000 (15:35 +0100)
committerJaroslav Kysela <perex@suse.cz>
Wed, 22 Mar 2006 09:33:52 +0000 (10:33 +0100)
Modules: Documentation

Fixed typos in document.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/sound/alsa/DocBook/writing-an-alsa-driver.tmpl

index 4251085..6dc9d9f 100644 (file)
           mychip_set_sample_format(chip, runtime->format);
           mychip_set_sample_rate(chip, runtime->rate);
           mychip_set_channels(chip, runtime->channels);
-          mychip_set_dma_setup(chip, runtime->dma_area,
+          mychip_set_dma_setup(chip, runtime->dma_addr,
                                chip->buffer_size,
                                chip->period_size);
           return 0;
@@ -3388,7 +3388,7 @@ struct _snd_pcm_runtime {
           .name = "PCM Playback Switch",
           .index = 0,
           .access = SNDRV_CTL_ELEM_ACCESS_READWRITE,
-          .private_values = 0xffff,
+          .private_value = 0xffff,
           .info = my_control_info,
           .get = my_control_get,
           .put = my_control_put
@@ -3449,7 +3449,7 @@ struct _snd_pcm_runtime {
       </para>
 
       <para>
-        The <structfield>private_values</structfield> field contains
+        The <structfield>private_value</structfield> field contains
       an arbitrary long integer value for this record. When using
       generic <structfield>info</structfield>,
       <structfield>get</structfield> and