ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Nov 2012 11:42:46 +0000 (12:42 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:16:13 +0000 (13:16 -0800)
commit1c694ffc72666085a5ad880fef913ee2c8c69c4a
tree16f6d641700eb8541062b35eb512dd1a8bf30879
parent49e44e317fdb73d75a00a058df75a6b6fe172c08
ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c

commit 888ea7d5ac6815ba16b3b3a20f665a92c7af6724 upstream.

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

Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/usb/mixer_quirks.c