projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acc8da7
)
ASoC: pcm1792a: Fix max_register setting
author
Axel Lin
<axel.lin@ingics.com>
Sat, 12 Oct 2013 09:26:49 +0000
(17:26 +0800)
committer
Mark Brown
<broonie@linaro.org>
Mon, 14 Oct 2013 14:01:12 +0000
(15:01 +0100)
According to the datasheet, the max_register is register 23.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/pcm1792a.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/pcm1792a.c
b/sound/soc/codecs/pcm1792a.c
index 2a8eccf64c76565ab5abb96f3436face0dda4f01..7613181123fe393042643847f4e2b5dbf4c89285 100644
(file)
--- a/
sound/soc/codecs/pcm1792a.c
+++ b/
sound/soc/codecs/pcm1792a.c
@@
-188,7
+188,7
@@
MODULE_DEVICE_TABLE(of, pcm1792a_of_match);
static const struct regmap_config pcm1792a_regmap = {
.reg_bits = 8,
.val_bits = 8,
- .max_register = 2
4
,
+ .max_register = 2
3
,
.reg_defaults = pcm1792a_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults),
.writeable_reg = pcm1792a_writeable_reg,