summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorBrian Austin <brian.austin@cirrus.com>2013-11-14 11:46:12 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-04 11:05:09 -0800
commit90a465ac6f733c983f795194bcf254db80e05e06 (patch)
tree8e6ee9cac0b28255ba243beb2bd40336a4505a62 /sound
parenta64ff461c40633fd7ddef68aa3b4ca7ef1873d8f (diff)
ASoC: cs42l52: Correct MIC CTL mask
commit 3d800c6d75b8c92fa928a0bcaf95cd7ac5fd1ce5 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
-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