]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[media] saa7134: use correct array offset
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 5 Jan 2012 05:24:00 +0000 (02:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 19:19:46 +0000 (17:19 -0200)
commite82db75d06ac331ae39b07f57539df3c51d19b94
treec146839b367905d27a3d1bc9758bf2139509e66b
parent938ca36ef7914bd013acbff9f15e393fe79d71da
[media] saa7134: use correct array offset

Smatch complains that i can be one passed the end of the array if we
don't hit the break statement.  We should be using the "audio" here like
we do in the other places.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-tvaudio.c