diff options
Diffstat (limited to 'sound/soc/codecs/pcm1681.c')
-rw-r--r-- | sound/soc/codecs/pcm1681.c | 2 |
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); | |||
270 | static const struct regmap_config pcm1681_regmap = { | 270 | static const struct regmap_config pcm1681_regmap = { |
271 | .reg_bits = 8, | 271 | .reg_bits = 8, |
272 | .val_bits = 8, | 272 | .val_bits = 8, |
273 | .max_register = ARRAY_SIZE(pcm1681_reg_defaults) + 1, | 273 | .max_register = 0x13, |
274 | .reg_defaults = pcm1681_reg_defaults, | 274 | .reg_defaults = pcm1681_reg_defaults, |
275 | .num_reg_defaults = ARRAY_SIZE(pcm1681_reg_defaults), | 275 | .num_reg_defaults = ARRAY_SIZE(pcm1681_reg_defaults), |
276 | .writeable_reg = pcm1681_writeable_reg, | 276 | .writeable_reg = pcm1681_writeable_reg, |