[ALSA] snd_usb_caiaq: fix potential lockups locking
authorDaniel Mack <daniel@caiaq.de>
Mon, 14 Apr 2008 13:39:14 +0000 (15:39 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 24 Apr 2008 10:00:35 +0000 (12:00 +0200)
commit8d048841e822f745187246a036d03f2793739b7f
tree0ea6afcd5cdb817c40c9877b5f9a19982ca7afd2
parentf57ab97e767d293132a29a43ca3ecb0f73f1d5bb
[ALSA] snd_usb_caiaq: fix potential lockups locking

This patch fixes potential lockups in snd_usb_caiaq by refining the
locking mechanims and by using usb_kill_urb() in favor to
usb_unlink_urb().

Signed-off-by: Daniel Mack <daniel@caiaq.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/caiaq/caiaq-audio.c
sound/usb/caiaq/caiaq-device.c