ASoC: wm8994: Fix reporting of accessory removal on WM8958
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 May 2013 11:52:08 +0000 (12:52 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 28 May 2013 14:22:36 +0000 (10:22 -0400)
commit9767a58b8b2a0b153c246fb6306c7d48d51bb379
tree5131e2f2e7aa45cbfd11d199c28436f9fa7e8773
parentd3134e211e8db7fa833c40b5879fc022693e16c2
ASoC: wm8994: Fix reporting of accessory removal on WM8958

During recent refactoring the code to report removal when MICDET reports
an absent microphone was removed, causing problems for systems which rely
solely on the MICDET for this functionality. Restore it.

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