ALSA: usb-audio: Fix races at disconnection in mixer_quirks.c
authorTakashi Iwai <tiwai@suse.de>
Wed, 7 Nov 2012 11:39:54 +0000 (12:39 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 17 Nov 2012 21:18:51 +0000 (13:18 -0800)
commit62edb372be14b3b7d6d80eaaa99d40134b53118d
treeb87cfec0fa73a4a0341728ebecc4e773c636104e
parentd8bd61294823b6e6604fc91217f9306685e11924
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