aboutsummaryrefslogtreecommitdiffstats
path: root/sound/usb/caiaq/caiaq-audio.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@caiaq.de>2008-04-14 09:39:47 -0400
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:36 -0400
commit6849d49c48718def95cf1b74154b9b0aee617c7e (patch)
tree367908a23582cc50a4c7c5c2ed01f8a5dbba0448 /sound/usb/caiaq/caiaq-audio.c
parent8d048841e822f745187246a036d03f2793739b7f (diff)
[ALSA] snd_usb_caiaq: correct input channel order
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>
Diffstat (limited to 'sound/usb/caiaq/caiaq-audio.c')
-rw-r--r--sound/usb/caiaq/caiaq-audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/usb/caiaq/caiaq-audio.c b/sound/usb/caiaq/caiaq-audio.c
index 1aa927942cc6..ebf32818a16d 100644
--- a/sound/usb/caiaq/caiaq-audio.c
+++ b/sound/usb/caiaq/caiaq-audio.c
@@ -202,7 +202,7 @@ static int snd_usb_caiaq_pcm_prepare(struct snd_pcm_substream *substream)
202 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) 202 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
203 dev->audio_out_buf_pos[index] = BYTES_PER_SAMPLE + 1; 203 dev->audio_out_buf_pos[index] = BYTES_PER_SAMPLE + 1;
204 else 204 else
205 dev->audio_in_buf_pos[index] = 0; 205 dev->audio_in_buf_pos[index] = BYTES_PER_SAMPLE;
206 206
207 if (dev->streaming) 207 if (dev->streaming)
208 return 0; 208 return 0;