ASoC: pcm1792a: Fix max_register setting

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>
This commit is contained in:
Axel Lin 2013-10-12 17:26:49 +08:00 committed by Mark Brown
parent acc8da7642
commit c92f66e280
1 changed files with 1 additions and 1 deletions

View File

@ -188,7 +188,7 @@ MODULE_DEVICE_TABLE(of, pcm1792a_of_match);
static const struct regmap_config pcm1792a_regmap = { static const struct regmap_config pcm1792a_regmap = {
.reg_bits = 8, .reg_bits = 8,
.val_bits = 8, .val_bits = 8,
.max_register = 24, .max_register = 23,
.reg_defaults = pcm1792a_reg_defaults, .reg_defaults = pcm1792a_reg_defaults,
.num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults), .num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults),
.writeable_reg = pcm1792a_writeable_reg, .writeable_reg = pcm1792a_writeable_reg,