linux/sound/usb/line6
Takashi Iwai 3d3ae4454d ALSA: line6: Fix racy loopback handling
The impulse and monitor handling in submit_audio_out_urb() isn't
protected thus this can be racy with the capture stream handling.
This patch extends the range to protect via each stream's spinlock
(now the whole submit_audio_*_urb() are covered), and take the capture
stream lock additionally for the impulse and monitor handling part.

Tested-by: Chris Rorvick <chris@rorvick.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2015-01-28 07:22:23 +01:00
..
capture.c ALSA: line6: Fix racy loopback handling 2015-01-28 07:22:23 +01:00
capture.h ALSA: line6: Consolidate PCM stream buffer allocation and free 2015-01-28 07:21:39 +01:00
driver.c ALSA: line6: Minor tidy up in line6_probe() 2015-01-28 07:22:16 +01:00
driver.h ALSA: line6: Let snd_card_new() allocate private data 2015-01-28 07:22:07 +01:00
Kconfig ALSA: line6/toneport: Implement LED controls via LED class 2015-01-28 07:20:08 +01:00
Makefile ALSA: line6: Reorganize card resource handling 2015-01-20 08:17:16 +01:00
midi.c ALSA: line6: Reduce superfluous spinlock in midi.c 2015-01-28 07:20:34 +01:00
midi.h ALSA: line6: Reduce superfluous spinlock in midi.c 2015-01-28 07:20:34 +01:00
midibuf.c ALSA: line6: Remove driver version from header comment 2015-01-20 09:52:40 +01:00
midibuf.h ALSA: line6: Remove driver version from header comment 2015-01-20 09:52:40 +01:00
pcm.c ALSA: line6: Consolidate PCM stream buffer allocation and free 2015-01-28 07:21:39 +01:00
pcm.h ALSA: line6: Rearrange PCM structure 2015-01-28 07:21:18 +01:00
playback.c ALSA: line6: Fix racy loopback handling 2015-01-28 07:22:23 +01:00
playback.h ALSA: line6: Consolidate PCM stream buffer allocation and free 2015-01-28 07:21:39 +01:00
pod.c ALSA: line6: Let snd_card_new() allocate private data 2015-01-28 07:22:07 +01:00
podhd.c ALSA: line6: Let snd_card_new() allocate private data 2015-01-28 07:22:07 +01:00
revision.h ALSA: move line6 usb driver into sound/usb 2015-01-12 22:29:57 +01:00
toneport.c ALSA: line6: Let snd_card_new() allocate private data 2015-01-28 07:22:07 +01:00
usbdefs.h ALSA: line6: Remove driver version from header comment 2015-01-20 09:52:40 +01:00
variax.c ALSA: line6: Let snd_card_new() allocate private data 2015-01-28 07:22:07 +01:00