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.2.34~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49b950b1fb8fe2f629b2e362d8461709d18cd27c;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed