summaryrefslogtreecommitdiff
path: root/sound/soc
diff options
context:
space:
mode:
authorJohn Keeping <john@metanate.com>2016-05-09 14:24:31 +0300
committerMark Brown <broonie@kernel.org>2016-05-10 20:56:01 +0300
commit2da1ab667a506cc6a7dea88b70e6df3d281458f8 (patch)
treea5cde9f921b5720146f7b3aa9033de6c0aec9312 /sound/soc
parent57e41f3fb32a359753a3b2679c2502b2750bf6af (diff)
downloadlinux-2da1ab667a506cc6a7dea88b70e6df3d281458f8.tar.xz
ASoC: es8328: Fix mask for VMIDSEL
This is always used along with ES8328_CONTROL1_ENREF so there is no change in the generated code as a result of this fix. Signed-off-by: John Keeping <john@metanate.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/es8328.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/es8328.h b/sound/soc/codecs/es8328.h
index 5a4af014e516..8bc79fff0218 100644
--- a/sound/soc/codecs/es8328.h
+++ b/sound/soc/codecs/es8328.h
@@ -22,7 +22,7 @@ int es8328_probe(struct device *dev, struct regmap *regmap);
#define ES8328_CONTROL1_VMIDSEL_50k (1 << 0)
#define ES8328_CONTROL1_VMIDSEL_500k (2 << 0)
#define ES8328_CONTROL1_VMIDSEL_5k (3 << 0)
-#define ES8328_CONTROL1_VMIDSEL_MASK (7 << 0)
+#define ES8328_CONTROL1_VMIDSEL_MASK (3 << 0)
#define ES8328_CONTROL1_ENREF (1 << 2)
#define ES8328_CONTROL1_SEQEN (1 << 3)
#define ES8328_CONTROL1_SAMEFS (1 << 4)