From 19ab2a7a24539d6c80dfe301d2970b075ad3b9ab Mon Sep 17 00:00:00 2001 From: Mark Brown Date: Tue, 24 Sep 2013 11:14:39 +0100 Subject: [PATCH] ASoC: max98088: Set max_register Makes some of the debug functions more useful. Signed-off-by: Mark Brown --- sound/soc/codecs/max98088.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/soc/codecs/max98088.c b/sound/soc/codecs/max98088.c index 31912d59702c..66ceee22fdad 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), -- 2.39.5