ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Nov 2012 11:44:11 +0000 (12:44 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:14:22 +0000 (13:14 -0800)
commitfb434cc26173c2285d48d640c639493bc6a6c5f5
treee0b7284135526412e6ea8178fb4d4f8013c0960e
parent14565776bea2c57d2f8d1cd7aeee6a0723ac2a05
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