]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[ALSA] snd_usb_caiaq: correct input channel order
authorDaniel Mack <daniel@caiaq.de>
Mon, 14 Apr 2008 13:39:47 +0000 (15:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:36 +0000 (12:00 +0200)
This patch corrects the input channel order of hardware supported by
snd_usb_caiaq.

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/caiaq-audio.c
sound/usb/caiaq/caiaq-device.c

index 1aa927942cc6f559988e064ba9fe08676a02531c..ebf32818a16d08daee19180ed82844bfd67d1130 100644 (file)
@@ -202,7 +202,7 @@ static int snd_usb_caiaq_pcm_prepare(struct snd_pcm_substream *substream)
        if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
                dev->audio_out_buf_pos[index] = BYTES_PER_SAMPLE + 1;
        else
-               dev->audio_in_buf_pos[index] = 0;
+               dev->audio_in_buf_pos[index] = BYTES_PER_SAMPLE;
        
        if (dev->streaming)
                return 0;
index 73c08b40cc5fe70509156421536703cd6840d3d0..379e6082756f6506bf97267378829fe0cbf42c21 100644 (file)
@@ -42,7 +42,7 @@
 #endif
 
 MODULE_AUTHOR("Daniel Mack <daniel@caiaq.de>");
-MODULE_DESCRIPTION("caiaq USB audio, version 1.3.4");
+MODULE_DESCRIPTION("caiaq USB audio, version 1.3.5");
 MODULE_LICENSE("GPL");
 MODULE_SUPPORTED_DEVICE("{{Native Instruments, RigKontrol2},"
                         "{Native Instruments, RigKontrol3},"