ASoC: cs42l52: Correct MIC CTL mask
authorBrian Austin <brian.austin@cirrus.com>
Thu, 14 Nov 2013 17:46:12 +0000 (11:46 -0600)
committerMark Brown <broonie@linaro.org>
Fri, 15 Nov 2013 10:16:53 +0000 (10:16 +0000)
The mask for CS42L52_MIC_CTL_TYPE_MASK was wrong keeping the mic config
from being set correctly.

Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/cs42l52.h

index 4277012..a935d73 100644 (file)
 #define CS42L52_MICB_CTL                       0x11
 #define        CS42L52_MIC_CTL_MIC_SEL_MASK            0xBF
 #define        CS42L52_MIC_CTL_MIC_SEL_SHIFT           6
-#define CS42L52_MIC_CTL_TYPE_MASK              0xDF
+#define CS42L52_MIC_CTL_TYPE_MASK              0x20
 #define CS42L52_MIC_CTL_TYPE_SHIFT             5