]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ALSA: usb-audio: Avoid autopm calls after disconnection
authorTakashi Iwai <tiwai@suse.de>
Mon, 3 Dec 2012 10:12:46 +0000 (11:12 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Jan 2013 17:18:19 +0000 (09:18 -0800)
commit08588e3a7dc15d729b145a6d589af5f1ca8fa7ba
treee2636470420900dde5610fa7274143dcb5da5c43
parent680dfe59174a569b842cbcb1cecaf517923e8fc1
ALSA: usb-audio: Avoid autopm calls after disconnection

commit 59866da9e4ae54819e3c4e0a8f426bdb0c2ef993 upstream.

Add a similar protection against the disconnection race and the
invalid use of usb instance after disconnection, as well as we've done
for the USB audio PCM.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=51201

Reviewd-by: Clemens Ladisch <clemens@ladisch.de>
Tested-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/midi.c