aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-10-12 17:26:49 +0800
committerMark Brown <broonie@linaro.org>2013-10-14 15:01:12 +0100
commitc92f66e2809dc46f834678329d7f744193557db6 (patch)
tree404118699d3c1056cfd90d7ea96b7d872c41e52d /sound
parentacc8da7642c8d8dc408d9713de61273950c20714 (diff)
downloadlinux-linaro-stable-c92f66e2809dc46f834678329d7f744193557db6.tar.gz
ASoC: pcm1792a: Fix max_register setting
According to the datasheet, the max_register is register 23. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@linaro.org>
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,