summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-10-18 15:17:13 +0200
committerMark Brown <broonie@linaro.org>2013-10-18 15:17:13 +0200
commit3b8c006b170fb6675a8dcbc224937a6eaa1c6d2e (patch)
tree92025da0b13761b7a4ca25386c8f80712c73d19a /sound
parentMerge remote-tracking branch 'asoc/fix/omap' into asoc-linus (diff)
parentASoC: pcm1681: Fix max_register setting (diff)
downloadlinux-3b8c006b170fb6675a8dcbc224937a6eaa1c6d2e.tar.xz
linux-3b8c006b170fb6675a8dcbc224937a6eaa1c6d2e.zip
Merge remote-tracking branch 'asoc/fix/pcm1681' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/pcm1681.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm1681.c b/sound/soc/codecs/pcm1681.c
index 651ce0923675..c91eba504f92 100644
--- a/sound/soc/codecs/pcm1681.c
+++ b/sound/soc/codecs/pcm1681.c
@@ -270,7 +270,7 @@ MODULE_DEVICE_TABLE(of, pcm1681_dt_ids);
static const struct regmap_config pcm1681_regmap = {
.reg_bits = 8,
.val_bits = 8,
- .max_register = ARRAY_SIZE(pcm1681_reg_defaults) + 1,
+ .max_register = 0x13,
.reg_defaults = pcm1681_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(pcm1681_reg_defaults),
.writeable_reg = pcm1681_writeable_reg,