]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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:00:07 +0000 (15:00 +0100)
commit64256ac6c2b6fb598fbe187a5503fd9dbb810374
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