[media] saa7134: add test after for loop
authorDan Carpenter <error27@gmail.com>
Mon, 4 Oct 2010 19:28:01 +0000 (16:28 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 09:54:19 +0000 (07:54 -0200)
commit06e6588edfb2be6fb3e544097c07274bd7b64084
treea76eb3b9b64d9b12adac36187f089a96413d0f78
parent8a197fcc31d3eac0791eef6e92ce1a07d49bb3d3
[media] saa7134: add test after for loop

Add a check after the for loops to see if we found what we were looking
for or if we reached the end of the list.

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7134/saa7134-video.c