OpenCloudOS-Kernel/sound/usb/caiaq
Mark Hills cb74eb15ac ALSA: snd-usb-caiaq: Fix the return of XRUN
Commit 3702b08 added a lock, but did not account for the case of
SNDRV_PCM_POS_XRUN, which would get immediately overwritten.

This could be bundled into one if-else-if statement, but the goto
helps to clarify the 'exceptional' case.

Thanks to Andreas Pape for spotting this.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Acked-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2012-02-22 08:34:58 +01:00
..
Makefile ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes 2009-04-14 13:31:17 +02:00
audio.c ALSA: snd-usb-caiaq: Fix the return of XRUN 2012-02-22 08:34:58 +01:00
audio.h ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes 2009-04-14 13:31:17 +02:00
control.c ALSA: snd-usb-caiaq: Add support for Traktor Kontrol S4 2010-09-10 11:08:39 +02:00
control.h ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes 2009-04-14 13:31:17 +02:00
device.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound 2012-01-12 08:00:30 -08:00
device.h ALSA: snd-usb-caiaq: Add support for Maschine 2011-10-13 08:16:46 +02:00
input.c ALSA: snd-usb-caiaq: Add support for Maschine 2011-10-13 08:16:46 +02:00
input.h ALSA: snd-usb-caiaq: rename files to remove redundant information in file pathes 2009-04-14 13:31:17 +02:00
midi.c ALSA: caiaq - Fix possible string-buffer overflow 2011-02-14 22:50:46 +01:00
midi.h ALSA: sound/usb/caiaq/midi.h: Checkpatch cleanup 2010-03-02 11:22:49 +01:00