linux/sound/usb
Takashi Iwai 29aac005ff ALSA: usb - Fix Oops after usb-midi disconnection
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>
Cc: <stable@kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2010-04-10 21:34:24 +02:00
..
caiaq
usx2y
Kconfig
Makefile
ua101.c ALSA: ua101: removing debugging code 2010-03-02 11:25:43 +01:00
usbaudio.c ALSA: usbaudio - remove debug "SAMPLE BYTES" printk line 2010-03-03 22:40:04 +01:00
usbaudio.h Merge remote branch 'alsa/devel' into topic/misc 2010-03-02 11:27:46 +01:00
usbmidi.c ALSA: usb - Fix Oops after usb-midi disconnection 2010-04-10 21:34:24 +02:00
usbmixer_maps.c
usbmixer.c
usbquirks.h Merge remote branch 'alsa/devel' into topic/misc 2010-03-02 11:27:46 +01:00