ASoC: tlv320aic31xx: Fix off by one error in the loop stucture.
authorJyri Sarha <jsarha@ti.com>
Mon, 24 Nov 2014 18:37:12 +0000 (20:37 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Nov 2014 18:45:57 +0000 (18:45 +0000)
commitbbc686b34650b0f54affe9d9a637ccbe02b03760
tree9a5f683551a9a3f5fc31b2c02716db8c0a251405
parentf114040e3ea6e07372334ade75d1ee0775c355e1
ASoC: tlv320aic31xx: Fix off by one error in the loop stucture.

Fix off by one read beyond the end of a table.

Reported-by: David Binderman <dcb314@hotmail.com>
Signed-off-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Cc: stable@vger.kernel.org
sound/soc/codecs/tlv320aic31xx.c