summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/cs42l52.h
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2013-11-14 11:46:12 -0600
committerMark Brown <broonie@linaro.org>2013-11-15 10:16:53 +0000
commit3d800c6d75b8c92fa928a0bcaf95cd7ac5fd1ce5 (patch)
tree12646bcae23829547e0b61914b3f61e9906b0675 /sound/soc/codecs/cs42l52.h
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
ASoC: cs42l52: Correct MIC CTL mask
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
Diffstat (limited to 'sound/soc/codecs/cs42l52.h')
-rw-r--r--sound/soc/codecs/cs42l52.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/cs42l52.h b/sound/soc/codecs/cs42l52.h
index 4277012c4719..a935d7381af6 100644
--- a/sound/soc/codecs/cs42l52.h
+++ b/sound/soc/codecs/cs42l52.h
@@ -179,7 +179,7 @@
#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