ASoC: WM8903: Fix mic detection enable logic
commit2a43030626d1cba4cd0e7ead34d71be30ecee1bd
authorStephen Warren <swarren@nvidia.com>
Thu, 10 Feb 2011 22:37:14 +0000 (10 15:37 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 24 Feb 2011 22:54:40 +0000 (24 14:54 -0800)
treea5cfd4ff4c8897e47c765cfd72624a1807923553
parente922e3380b4b02babff5feade9b1428945429a69
ASoC: WM8903: Fix mic detection enable logic

commit 3088e3b4963d26d6f6f54987f595b974ed6d48d8 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/soc/codecs/wm8903.c