V4L/DVB (7461): bttv: fix missed index check
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 1 Apr 2008 20:49:13 +0000 (17:49 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Tue, 1 Apr 2008 22:35:45 +0000 (19:35 -0300)
commit1a002ebf60c011ed6574b8e3ed9aa85f1ead6a95
treeede91daf700a989446a072124f11eb837e83d666
parentc137918978889fa4711d286e0a8ca3d93fdcb991
V4L/DVB (7461): bttv: fix missed index check

We should check for proper index first

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/bt8xx/bttv-driver.c