diff options
author | Charles Keepax <ckeepax@opensource.wolfsonmicro.com> | 2014-06-16 21:24:03 +0100 |
---|---|---|
committer | Jiri Slaby <jslaby@suse.cz> | 2014-09-17 16:55:07 +0200 |
commit | 0eff4d68aefc30b4b759aa6c6d6e554d430a4a4e (patch) | |
tree | 3cce2d0170166bfc52eeb7870aa2d5be5479cae6 /sound/pci/lola | |
parent | 1e1c3a21579aa9ea0429b69165caef77cca27f7e (diff) |
ASoC: wm8994: Prevent double lock of accdet_lock mutex on wm1811
commit b38314179c9ccb789e6fe967cff171fa817e8978 upstream.
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 <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'sound/pci/lola')
0 files changed, 0 insertions, 0 deletions