linux-uconsole/sound/usb
Takashi Iwai 8b49768d5f ALSA: usb - Fix Oops after usb-midi disconnection
commit 29aac005ff upstream.

usb-midi causes sometimes Oops at snd_usbmidi_output_drain() after
disconnection.  This is due to the access to the endpoints which have
been already released at disconnection while the files are still alive.

This patch fixes the problem by checking disconnection state at
snd_usbmidi_output_drain() and by releasing urbs but keeping the
endpoint instances until really all freed.

Tested-by: Tvrtko Ursulin <tvrtko@ursulin.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-04-26 07:41:25 -07:00
..
caiaq ALSA: snd-usb-caiaq: Bump version number to 1.3.20 2009-10-30 12:29:56 +01:00
usx2y const: mark struct vm_struct_operations 2009-09-27 11:39:25 -07:00
Kconfig ALSA: snd_usb_caiaq: add support for Audio2DJ 2009-07-23 16:31:58 +02:00
Makefile ALSA: Add USB US122L driver 2008-08-01 13:37:12 +02:00
usbaudio.c ALSA: USB MIDI support for Access Music VirusTI 2010-03-15 08:49:49 -07:00
usbaudio.h ALSA: usb-audio: fix combine_word problem 2009-11-07 09:46:06 +01:00
usbmidi.c ALSA: usb - Fix Oops after usb-midi disconnection 2010-04-26 07:41:25 -07:00
usbmixer.c ALSA: usb - Quirk to disable master volume control in PCM2702 2009-11-17 15:49:26 +01:00
usbmixer_maps.c ALSA: usb-audio - Quirk for Serato phono 2009-01-18 18:48:03 +01:00
usbquirks.h ALSA: USB MIDI support for Access Music VirusTI 2010-03-15 08:49:49 -07:00