ALSA: usb6fire: prevent driver panic state when stopping
authorJurgen Kramer <gtmkramer@xs4all.nl>
Fri, 7 Dec 2012 09:26:43 +0000 (10:26 +0100)
committerTakashi Iwai <tiwai@suse.de>
Fri, 7 Dec 2012 14:03:34 +0000 (15:03 +0100)
commit9621055fbbb190264cb6a8182b70e3f0f917d770
tree111eb2b3bee0f31e0d599bf84608e72687532d48
parent090015aeefb1360dfa2c467310530052a2965eac
ALSA: usb6fire: prevent driver panic state when stopping

The patch below prevents the 6fire usb driver going into panic state
when stopping playing. On some systems the urb in handler
(usb6fire_pcm_in_urb_handler) is being called while urbs are being
killed off, this causes the driver to set panic state and can result in
the kernel warning 'URB %p submitted while active'.

Signed-off-by: Jurgen Kramer <gtmkramer@xs4all.nl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/6fire/pcm.c