diff options
Diffstat (limited to 'drivers/media/video/zoran/zoran_driver.c')
-rw-r--r-- | drivers/media/video/zoran/zoran_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/zoran/zoran_driver.c b/drivers/media/video/zoran/zoran_driver.c index 47137deafcf..e9f72ca458f 100644 --- a/drivers/media/video/zoran/zoran_driver.c +++ b/drivers/media/video/zoran/zoran_driver.c | |||
@@ -2764,7 +2764,7 @@ static int zoran_enum_input(struct file *file, void *__fh, | |||
2764 | struct zoran_fh *fh = __fh; | 2764 | struct zoran_fh *fh = __fh; |
2765 | struct zoran *zr = fh->zr; | 2765 | struct zoran *zr = fh->zr; |
2766 | 2766 | ||
2767 | if (inp->index < 0 || inp->index >= zr->card.inputs) | 2767 | if (inp->index >= zr->card.inputs) |
2768 | return -EINVAL; | 2768 | return -EINVAL; |
2769 | else { | 2769 | else { |
2770 | int id = inp->index; | 2770 | int id = inp->index; |