diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-14 08:36:50 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-05-14 08:36:50 -0300 |
commit | f73d4223cf12d0d65a3bd9d6da0ff8807c86d064 (patch) | |
tree | 69f2f087b6053c218a8f5431f56aff437c8ee538 /linux/drivers/media/video/hexium_gemini.c | |
parent | 7e2fc0b0dd4648fcd4c2ca82093aebcfaed3e863 (diff) | |
parent | bdef8c3d9a3ba2fab464529580ae8028d74e8aff (diff) | |
download | mediapointer-dvb-s2-f73d4223cf12d0d65a3bd9d6da0ff8807c86d064.tar.gz mediapointer-dvb-s2-f73d4223cf12d0d65a3bd9d6da0ff8807c86d064.tar.bz2 |
merge: http://linuxtv.org/hg/~mkrufky/k2c2
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/hexium_gemini.c')
-rw-r--r-- | linux/drivers/media/video/hexium_gemini.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/hexium_gemini.c b/linux/drivers/media/video/hexium_gemini.c index bcd8144c5..e7dc0aa61 100644 --- a/linux/drivers/media/video/hexium_gemini.c +++ b/linux/drivers/media/video/hexium_gemini.c @@ -225,7 +225,7 @@ static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i) { DEB_EE(("VIDIOC_ENUMINPUT %d.\n", i->index)); - if (i->index < 0 || i->index >= HEXIUM_INPUTS) + if (i->index >= HEXIUM_INPUTS) return -EINVAL; memcpy(i, &hexium_inputs[i->index], sizeof(struct v4l2_input)); |