projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7a48c7
)
ASoC: tlv320aic32x4: Increase maximum register in regmap
author
Annaliese McDermond
<nh6z@nh6z.net>
Wed, 31 Mar 2021 18:21:45 +0000
(18:21 +0000)
committer
Mark Brown
<broonie@kernel.org>
Tue, 6 Apr 2021 16:12:33 +0000
(17:12 +0100)
AIC32X4_REFPOWERUP was added as a register, but the maximum register value
in the regmap and regmap range was not correspondingly increased. This
caused an error when this register was attempted to be written.
Fixes:
ec96690de82c
("ASoC: tlv320aic32x4: Enable fast charge")
Cc: stable@vger.kernel.org
Signed-off-by: Annaliese McDermond <nh6z@nh6z.net>
Link:
https://lore.kernel.org/r/0101017889851cab-ce60cfdb-d88c-43d8-bbd2-7fbf34a0c912-000000@us-west-2.amazonses.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tlv320aic32x4.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/tlv320aic32x4.c
b/sound/soc/codecs/tlv320aic32x4.c
index
f04f88c
..
1ac3b3b
100644
(file)
--- a/
sound/soc/codecs/tlv320aic32x4.c
+++ b/
sound/soc/codecs/tlv320aic32x4.c
@@
-577,12
+577,12
@@
static const struct regmap_range_cfg aic32x4_regmap_pages[] = {
.window_start = 0,
.window_len = 128,
.range_min = 0,
- .range_max = AIC32X4_R
MICPGAVOL
,
+ .range_max = AIC32X4_R
EFPOWERUP
,
},
};
const struct regmap_config aic32x4_regmap_config = {
- .max_register = AIC32X4_R
MICPGAVOL
,
+ .max_register = AIC32X4_R
EFPOWERUP
,
.ranges = aic32x4_regmap_pages,
.num_ranges = ARRAY_SIZE(aic32x4_regmap_pages),
};