summaryrefslogtreecommitdiff
path: root/firmware/cpia2
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2012-11-07 12:42:45 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-11-17 13:16:12 -0800
commit49e44e317fdb73d75a00a058df75a6b6fe172c08 (patch)
treeabeaf4b344a9f59e76fce60b7d129d7fa6a36582 /firmware/cpia2
parent799c92f2aecb348e4a4c6dab80c7206e48caf201 (diff)
downloadlinux-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 'firmware/cpia2')
0 files changed, 0 insertions, 0 deletions