projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45f1b12
)
ASoC: codecs: Modify max_register usage error
author
Weidong Wang
<wangweidong.a@awinic.com>
Fri, 20 Oct 2023 08:34:24 +0000
(16:34 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 23 Oct 2023 12:29:51 +0000
(13:29 +0100)
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>
sound/soc/codecs/aw88261.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/codecs/aw88261.c
b/sound/soc/codecs/aw88261.c
index e7683f70c2ef59acd8e01894a5c7932e0ecf67bf..a78ceedd033445791286eb56387bdf1fa6b56a9a 100644
(file)
--- a/
sound/soc/codecs/aw88261.c
+++ b/
sound/soc/codecs/aw88261.c
@@
-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,
};