]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: wm8994: Check jack is inserted when handling mic IRQ
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 3 Dec 2012 06:58:55 +0000 (15:58 +0900)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 3 Dec 2012 07:34:26 +0000 (16:34 +0900)
commitff13d5dd621369e0cf6281bff43a350fcbec8938
tree3e27bd9a7d8e3c1d078dd584165b1c770aa0b190
parent5f620e8c30935cad71e343afba43bbc7c17ec962
ASoC: wm8994: Check jack is inserted when handling mic IRQ

If we've got jack detection support then check that the jack is still
inserted when handling a mic IRQ in order to avoid transient reports
caused by shorts during the removal process as the two interrupts race
with each other.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/codecs/wm8994.c