diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-10-12 05:26:49 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-14 10:01:12 -0400 |
commit | c92f66e2809dc46f834678329d7f744193557db6 (patch) | |
tree | 404118699d3c1056cfd90d7ea96b7d872c41e52d | |
parent | acc8da7642c8d8dc408d9713de61273950c20714 (diff) |
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>
-rw-r--r-- | sound/soc/codecs/pcm1792a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/codecs/pcm1792a.c b/sound/soc/codecs/pcm1792a.c index 2a8eccf64c76..7613181123fe 100644 --- a/sound/soc/codecs/pcm1792a.c +++ b/sound/soc/codecs/pcm1792a.c | |||
@@ -188,7 +188,7 @@ MODULE_DEVICE_TABLE(of, pcm1792a_of_match); | |||
188 | static const struct regmap_config pcm1792a_regmap = { | 188 | static const struct regmap_config pcm1792a_regmap = { |
189 | .reg_bits = 8, | 189 | .reg_bits = 8, |
190 | .val_bits = 8, | 190 | .val_bits = 8, |
191 | .max_register = 24, | 191 | .max_register = 23, |
192 | .reg_defaults = pcm1792a_reg_defaults, | 192 | .reg_defaults = pcm1792a_reg_defaults, |
193 | .num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults), | 193 | .num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults), |
194 | .writeable_reg = pcm1792a_writeable_reg, | 194 | .writeable_reg = pcm1792a_writeable_reg, |