ASoC: max98088: Set max_register
authorMark Brown <broonie@linaro.org>
Tue, 24 Sep 2013 10:14:39 +0000 (11:14 +0100)
committerMark Brown <broonie@linaro.org>
Tue, 24 Sep 2013 18:34:43 +0000 (19:34 +0100)
Makes some of the debug functions more useful.

Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/max98088.c

index 31912d5..66ceee2 100644 (file)
@@ -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),