ASoC: pcm1681: Fix max_register setting
authorAxel Lin <axel.lin@ingics.com>
Sat, 12 Oct 2013 09:24:25 +0000 (17:24 +0800)
committerMark Brown <broonie@linaro.org>
Mon, 14 Oct 2013 14:01:10 +0000 (15:01 +0100)
commitacc8da7642c8d8dc408d9713de61273950c20714
tree13d0ca61e7bbd381f8ad3598c60c445686d69eb5
parent61e6cfa80de5760bbe406f4e815b7739205754d2
ASoC: pcm1681: Fix max_register setting

According to the datasheet, the max_register is 13h.
ARRAY_SIZE(pcm1681_reg_defaults) + 1 is 18 which is wrong.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/pcm1681.c