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
commitd55f0691c041dba46daad7790b8f2631acb55f9a (patch)
tree0f51c0ad8827a2e8bdc7a45e61b5c15d3ca44691 /sound
parentMerge remote-tracking branch 'asoc/fix/pcm1681' into asoc-linus (diff)
parentASoC: pcm1792a: Fix max_register setting (diff)
downloadlinux-d55f0691c041dba46daad7790b8f2631acb55f9a.tar.xz
linux-d55f0691c041dba46daad7790b8f2631acb55f9a.zip
Merge remote-tracking branch 'asoc/fix/pcm1792a' into asoc-linus
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/codecs/pcm1792a.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm1792a.c b/sound/soc/codecs/pcm1792a.c
index 2a8eccf64c76..7613181123fe 100644
--- a/sound/soc/codecs/pcm1792a.c
+++ b/sound/soc/codecs/pcm1792a.c
@@ -188,7 +188,7 @@ MODULE_DEVICE_TABLE(of, pcm1792a_of_match);
static const struct regmap_config pcm1792a_regmap = {
.reg_bits = 8,
.val_bits = 8,
- .max_register = 24,
+ .max_register = 23,
.reg_defaults = pcm1792a_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults),
.writeable_reg = pcm1792a_writeable_reg,