summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/wm8804.c
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-12 16:31:50 +0000
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-03-12 18:12:09 +0000
commitc986564b3115ebd24a907515ac0b7ca2bef794f9 (patch)
treecae0cd0b3d16a800920e3ea579f61b54bfb93619 /sound/soc/codecs/wm8804.c
parent80f48143ffde97c48c5e550e2fcd2c9f8e77e554 (diff)
ASoC: wm8994: Prevent ABBA deadlock with CODEC and accdet mutexes
Currently we can the accdet mutex from within DAPM when updating the device state which means we take accdet then the CODEC mutex but we also do the locking the other way around when responding to the jackdet IRQ. Move all the jackdet use of the CODEC mutex out of the accdet lock to avoid this. Since all the DAPM interactions depend only on a single threaded IRQ this is still serialised. The locking improvements in 3.5 allow a better solution there. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/codecs/wm8804.c')
0 files changed, 0 insertions, 0 deletions