ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 Oct 2012 10:40:37 +0000 (12:40 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 30 Oct 2012 10:07:05 +0000 (11:07 +0100)
commit888ea7d5ac6815ba16b3b3a20f665a92c7af6724
tree0fa4d254cf538ee02236a6d93fae0ff5eb728038
parent34f3c89fda4fba9fe689db22253ca8db2f5e6386
ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c

Similar like the previous commit, cover with chip->shutdown_rwsem
and chip->shutdown checks.

Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_quirks.c