From: Takashi Iwai Date: Mon, 15 Oct 2012 10:16:02 +0000 (+0200) Subject: ALSA: usb-audio: Use rwsem for disconnect protection X-Git-Tag: v3.7-rc4~18^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34f3c89fda4fba9fe689db22253ca8db2f5e6386;p=pandora-kernel.git 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 Cc: Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed