]> git.itanic.dy.fi Git - linux-stable/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:03:36 +0000 (09:03 -0800)
commit5a6400c991f269eaab5a175d8b7c656155a74129
tree98bd2050b1f3c827fc464ba198699117aa87a394
parent51afc625ccd2e38f76f690ccce93e11a21d9543b
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