diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-04-10 21:27:23 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2010-04-10 21:34:24 +0200 |
commit | 29aac005ff4dc8a5f50b80f4e5c4f59b21c0fb50 (patch) | |
tree | b6518159bd2f25187499f3094bf2302e381b3edd /Documentation/vm/locking | |
parent | b0cc58a25d04160d39a80e436847eaa2fbc5aa09 (diff) | |
download | talos-obmc-linux-29aac005ff4dc8a5f50b80f4e5c4f59b21c0fb50.tar.gz talos-obmc-linux-29aac005ff4dc8a5f50b80f4e5c4f59b21c0fb50.zip |
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>
Diffstat (limited to 'Documentation/vm/locking')
0 files changed, 0 insertions, 0 deletions