]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit084053dc264d3f56dab30a26cf0f8b5cbeab74c3
tree958fe75fbbc05a994c3791c8cc97d606c96afe6a
parent41d2ccf932373a7690dad6fb72ceeadf3badd261
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