diff options
author | Takashi Iwai <tiwai@suse.de> | 2012-11-07 12:42:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-17 13:16:12 -0800 |
commit | 49e44e317fdb73d75a00a058df75a6b6fe172c08 (patch) | |
tree | abeaf4b344a9f59e76fce60b7d129d7fa6a36582 /samples | |
parent | 799c92f2aecb348e4a4c6dab80c7206e48caf201 (diff) | |
download | linux-3.10-49e44e317fdb73d75a00a058df75a6b6fe172c08.tar.gz linux-3.10-49e44e317fdb73d75a00a058df75a6b6fe172c08.tar.bz2 linux-3.10-49e44e317fdb73d75a00a058df75a6b6fe172c08.zip |
ALSA: usb-audio: Use rwsem for disconnect protection
commit 34f3c89fda4fba9fe689db22253ca8db2f5e6386 upstream.
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>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'samples')
0 files changed, 0 insertions, 0 deletions