diff options
Diffstat (limited to 'drivers/media/dvb/ttpci/av7110_v4l.c')
-rw-r--r-- | drivers/media/dvb/ttpci/av7110_v4l.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/ttpci/av7110_v4l.c b/drivers/media/dvb/ttpci/av7110_v4l.c index 2210cff738e..ce64c6214cc 100644 --- a/drivers/media/dvb/ttpci/av7110_v4l.c +++ b/drivers/media/dvb/ttpci/av7110_v4l.c | |||
@@ -458,7 +458,7 @@ static int vidioc_enum_input(struct file *file, void *fh, struct v4l2_input *i) | |||
458 | dprintk(2, "VIDIOC_ENUMINPUT: %d\n", i->index); | 458 | dprintk(2, "VIDIOC_ENUMINPUT: %d\n", i->index); |
459 | 459 | ||
460 | if (av7110->analog_tuner_flags) { | 460 | if (av7110->analog_tuner_flags) { |
461 | if (i->index < 0 || i->index >= 4) | 461 | if (i->index >= 4) |
462 | return -EINVAL; | 462 | return -EINVAL; |
463 | } else { | 463 | } else { |
464 | if (i->index != 0) | 464 | if (i->index != 0) |