ASoC: wm8996: Fix negative array index read
authorTakashi Iwai <tiwai@suse.de>
Wed, 30 Oct 2013 07:35:07 +0000 (08:35 +0100)
committerMark Brown <broonie@linaro.org>
Wed, 30 Oct 2013 16:50:21 +0000 (09:50 -0700)
commitfe329a1a92cfe2d0c7e04fe3bc63761dc0f35950
treec33a30be73bee8f345fd7b6636443a8ccecad646
parent959f58544b7f20c92d5eb43d1232c96c15c01bfb
ASoC: wm8996: Fix negative array index read

Spotted by coverity CID 146355.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/codecs/wm8996.c