From: Charles Keepax Date: Mon, 16 Jun 2014 20:24:03 +0000 (+0100) Subject: ASoC: wm8994: Prevent double lock of accdet_lock mutex on wm1811 X-Git-Tag: omap-for-v3.17/fixes-against-rc2~29^2~4^2~5^2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b38314179c9ccb789e6fe967cff171fa817e8978;p=pandora-kernel.git ASoC: wm8994: Prevent double lock of accdet_lock mutex on wm1811 wm1811_micd_stop takes the accdet_lock mutex, and is called from two places, one of which is already holding the accdet_lock. This obviously causes a lock up. This patch fixes this issue by removing the lock from wm1811_micd_stop and ensuring that it is always locked externally. Signed-off-by: Charles Keepax Signed-off-by: Mark Brown Cc: stable@vger.kernel.org --- Reading git-diff-tree failed