V4L/DVB (13285): vpfe_capture: keep index within bound in vpfe_cropcap()
authorRoel Kluin <roel.kluin@gmail.com>
Wed, 4 Nov 2009 17:16:25 +0000 (14:16 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:41:12 +0000 (18:41 -0200)
commit0b66cf90371dcd28c6eb98904adb694ae98eb20f
treecd40ec966e16910006cbe01c143210d8f659cc5f
parent648732fcefa73932ae8caa8bcfd262863904dd66
V4L/DVB (13285): vpfe_capture: keep index within bound in vpfe_cropcap()

If vpfe_dev->std_index equals ARRAY_SIZE(vpfe_standards), that is
one too large.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Muralidharan Karicheri <m-karicheri2@ti.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/davinci/vpfe_capture.c