]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: snd-usb-caiaq: Missing lock around use of buffer positions
authorMark Hills <mark@pogo.org.uk>
Sat, 24 Oct 2009 11:59:35 +0000 (12:59 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 30 Oct 2009 11:29:16 +0000 (12:29 +0100)
commit1301f07cf714138c6be63caccddcee376e38a003
tree26eeb2395c960744c70eb3d5e31a4d9f16ec0c6a
parent350f5e5a7a088b09513277822d7f1e72aacef73c
ALSA: snd-usb-caiaq: Missing lock around use of buffer positions

Fix a race which causes snd_pcm_update_hw_ptr_pos() to report a bug.

Signed-off-by: Mark Hills <mark@pogo.org.uk>
Acked-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/audio.c