]> 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)
committerBen Hutchings <ben@decadent.org.uk>
Thu, 3 Jan 2013 03:33:27 +0000 (03:33 +0000)
commitb4c47aec8b8f1336f825df3f2941f5c79c2d30dd
treebbd18b221659ef674266e266646a2337219f7ad8
parent37021f68aa5cfe2b838bea7dfdeae99d7c9bdc6e
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: Ben Hutchings <ben@decadent.org.uk>
sound/usb/midi.c