ASoC: cs42l52: increase MAX_REGISTER for regmap_register_patch
authorBrian Austin <brian.austin@cirrus.com>
Fri, 25 Oct 2013 15:01:15 +0000 (10:01 -0500)
committerMark Brown <broonie@linaro.org>
Fri, 25 Oct 2013 20:23:16 +0000 (21:23 +0100)
regmap_register_patch fails without the MAX_REGISTER set to highest
register written to. Increase to register 0x47

Signed-off-by: Brian Austin <brian.austin@cirrus.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/cs42l52.h

index 4277012..1a9412d 100644 (file)
 #define CS42L52_FIX_BITS1                      0x3E
 #define CS42L52_FIX_BITS2                      0x47
 
-#define CS42L52_MAX_REGISTER                   0x34
+#define CS42L52_MAX_REGISTER                   0x47
 
 #endif