ASoC: codecs: Modify max_register usage error
Modify the value of max_register, otherwirse the AW88261_EFRL1_REG register will not be accessible. Signed-off-by: Weidong Wang <wangweidong.a@awinic.com> Link: https://lore.kernel.org/r/20231020083426.302925-3-wangweidong.a@awinic.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
45f1b12e03
commit
f1c406866a
|
@ -19,7 +19,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,
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue