From: Liam Girdwood Date: Fri, 6 Jul 2012 15:57:05 +0000 (+0100) Subject: ASoC: dapm: Fix locking during codec shutdown X-Git-Tag: v3.6-rc1~117^2^2^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=01005a729a17ab419f61a366e22f3419e7a2c3fe;p=pandora-kernel.git ASoC: dapm: Fix locking during codec shutdown Codec shutdown performs a DAPM power sequence that might cause conflicts and/or race conditions if another stream power event is running simultaneously. Use card's dapm mutex to protect any potential race condition between them. Signed-off-by: Misael Lopez Cruz Signed-off-by: Liam Girdwood Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed