aboutsummaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-04-10 15:27:23 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2010-04-26 10:47:54 -0400
commitfae0017ccf08a2d2ddb5c420793f3591d8ab85cb (patch)
tree9a18ac17e9affd25f00cc1ba3e6a050f389b5e3d /virt
parent2ea24ea2243e358ca74541d159da329a7e734d81 (diff)
ALSA: usb - Fix Oops after usb-midi disconnection
commit 29aac005ff4dc8a5f50b80f4e5c4f59b21c0fb50 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>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions