git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
34f3c89
)
ALSA: usb-audio: Use rwsem for disconnect protection
author
Takashi Iwai
<tiwai@suse.de>
Mon, 15 Oct 2012 10:16:02 +0000
(12:16 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Tue, 30 Oct 2012 10:07:00 +0000
(11:07 +0100)
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>
No differences found