]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Tue, 4 Dec 2012 06:27:27 +0000 (07:27 +0100)
commit3e670195e86f8bc7d36ff3f45ff3face753ca8dd
tree345bf3e8be9d6f0ad9a19c18a531a68ee3dcd55d
parent80894e5aced4622d00826741a84baed10f7d439a
ALSA: usb-audio: Avoid autopm calls after disconnection

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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/midi.c