diff options
author | Axel Lin <axel.lin@ingics.com> | 2013-10-12 17:26:49 +0800 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-10-14 15:01:12 +0100 |
commit | c92f66e2809dc46f834678329d7f744193557db6 (patch) | |
tree | 404118699d3c1056cfd90d7ea96b7d872c41e52d | |
parent | acc8da7642c8d8dc408d9713de61273950c20714 (diff) | |
download | op-kernel-dev-c92f66e2809dc46f834678329d7f744193557db6.zip op-kernel-dev-c92f66e2809dc46f834678329d7f744193557db6.tar.gz |
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 2a8eccf..7613181 100644 --- 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 = 24, + .max_register = 23, .reg_defaults = pcm1792a_reg_defaults, .num_reg_defaults = ARRAY_SIZE(pcm1792a_reg_defaults), .writeable_reg = pcm1792a_writeable_reg, |