summaryrefslogtreecommitdiffstats
path: root/sound/soc
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-24 11:14:39 +0100
committerMark Brown <broonie@linaro.org>2013-09-24 19:34:43 +0100
commit19ab2a7a24539d6c80dfe301d2970b075ad3b9ab (patch)
tree315a201d159829d06f656f33243f7baf63e277c9 /sound/soc
parent4127d5d59f8135e3c187b8daa2540691761938ce (diff)
ASoC: max98088: Set max_register
Makes some of the debug functions more useful. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc')
-rw-r--r--sound/soc/codecs/max98088.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c
index 31912d59702..66ceee22fda 100644
--- a/sound/soc/codecs/max98088.c
+++ b/sound/soc/codecs/max98088.c
@@ -552,6 +552,7 @@ static const struct regmap_config max98088_regmap = {
.readable_reg = max98088_readable_register,
.volatile_reg = max98088_volatile_register,
+ .max_register = 0xff,
.reg_defaults = max98088_reg,
.num_reg_defaults = ARRAY_SIZE(max98088_reg),