]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit3702b082281929cf1bdf14f67eb0619aab58b496
tree26eeb2395c960744c70eb3d5e31a4d9f16ec0c6a
parente8e0929d7290cab7c5b1a3e5f5f54f73daf38038
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