From b38314179c9ccb789e6fe967cff171fa817e8978 Mon Sep 17 00:00:00 2001 From: Charles Keepax Date: Mon, 16 Jun 2014 21:24:03 +0100 Subject: [PATCH] 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-format-patch failed