ASoC: WM8903: Fix mic detection enable logic
authorStephen Warren <swarren@nvidia.com>
Thu, 10 Feb 2011 22:37:14 +0000 (15:37 -0700)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 13 Feb 2011 19:44:46 +0000 (19:44 +0000)
commit3088e3b4963d26d6f6f54987f595b974ed6d48d8
tree958fe75fbbc05a994c3791c8cc97d606c96afe6a
parent28d639f7bd2559e3d6dc10c0316d19154b28a2a4
ASoC: WM8903: Fix mic detection enable logic

The mic detection HW should be enabled when either mic or short detection
is required, not when only both are required.

Signed-off-by: Stephen Warren <swarren@nvidia.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/codecs/wm8903.c