ASoC: max9867: silence and array overflow warning
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 25 Feb 2016 07:50:38 +0000 (10:50 +0300)
committerMark Brown <broonie@kernel.org>
Fri, 26 Feb 2016 01:34:51 +0000 (10:34 +0900)
commit90966391005e69a8964350278917a87fe49adf0f
tree942e8e7d099c48e2466bc35fb9a25b70d8a26602
parent9dcc72efae313472d1d719e91b23e2bea3513789
ASoC: max9867: silence and array overflow warning

Smatch complains that we might reach the end of this loop without
finding what we're looking for leading to a buffer overflow.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max9867.c