ASoC: tas2552: Fix off-by-one for max_register setting
authorAxel Lin <axel.lin@ingics.com>
Thu, 23 Jul 2015 14:56:04 +0000 (22:56 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 23 Jul 2015 15:46:31 +0000 (16:46 +0100)
commit95f1044f5674b53f67e0933abff228c594792f4c
tree7a20ea1cc56c319f0ab756288428725c51c2b21b
parentbc0195aad0daa2ad5b0d76cce22b167bc3435590
ASoC: tas2552: Fix off-by-one for max_register setting

The latest valid register is TAS2552_VBAT_DATA.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Dan Murphy<dmurphy@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/tas2552.h