diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-10-15 12:16:02 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-30 11:07:00 +0100 |
commit | 34f3c89fda4fba9fe689db22253ca8db2f5e6386 (patch) | |
tree | 213e1b6e6ceaee42dc4f9ec74307794dc7a83b20 /arch/mn10300/include | |
parent | ALSA: usb-audio: Fix races at disconnection (diff) | |
download | linux-34f3c89fda4fba9fe689db22253ca8db2f5e6386.tar.xz linux-34f3c89fda4fba9fe689db22253ca8db2f5e6386.zip |
ALSA: usb-audio: Use rwsem for disconnect protection
Replace mutex with rwsem for codec->shutdown protection so that
concurrent accesses are allowed.
Also add the protection to snd_usb_autosuspend() and
snd_usb_autoresume(), too.
Reported-by: Matthieu CASTET <matthieu.castet@parrot.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'arch/mn10300/include')
0 files changed, 0 insertions, 0 deletions