Message ID | 20231024071419.85647-3-wangweidong.a@awinic.com |
---|---|
State | Accepted |
Commit | f1c406866af5dacdd9601cfa3be4873ebd801b86 |
Headers | show |
Series | None | expand |
diff --git a/sound/soc/codecs/aw88261.c b/sound/soc/codecs/aw88261.c index a697b5006b45..0db7a0a3c179 100644 --- a/sound/soc/codecs/aw88261.c +++ b/sound/soc/codecs/aw88261.c @@ -20,7 +20,7 @@ static const struct regmap_config aw88261_remap_config = { .val_bits = 16, .reg_bits = 8, - .max_register = AW88261_REG_MAX - 1, + .max_register = AW88261_REG_MAX, .reg_format_endian = REGMAP_ENDIAN_LITTLE, .val_format_endian = REGMAP_ENDIAN_BIG, };