summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134/saa7134-video.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 18:52:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 18:52:23 -0300
commit21ffe960decd954bf2e0959e5d85ec5484477bbd (patch)
treeb3e1150fe0889249c114c682582dee30b6c2e250 /linux/drivers/media/video/saa7134/saa7134-video.c
parente1afff6e5f2d6b35928ab6651ac5705659713ca0 (diff)
parent3304a5198cc1315ca633f1d17bcbdb36a07e9bfb (diff)
downloadmediapointer-dvb-s2-21ffe960decd954bf2e0959e5d85ec5484477bbd.tar.gz
mediapointer-dvb-s2-21ffe960decd954bf2e0959e5d85ec5484477bbd.tar.bz2
merge: http://www.linuxtv.org/hg/~dougsland/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/saa7134/saa7134-video.c')
-rw-r--r--linux/drivers/media/video/saa7134/saa7134-video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/saa7134/saa7134-video.c b/linux/drivers/media/video/saa7134/saa7134-video.c
index 4212c4ec8..e7f78fcb8 100644
--- a/linux/drivers/media/video/saa7134/saa7134-video.c
+++ b/linux/drivers/media/video/saa7134/saa7134-video.c
@@ -1797,7 +1797,7 @@ static int saa7134_s_input(struct file *file, void *priv, unsigned int i)
if (0 != err)
return err;
- if (i < 0 || i >= SAA7134_INPUT_MAX)
+ if (i >= SAA7134_INPUT_MAX)
return -EINVAL;
if (NULL == card_in(dev, i).name)
return -EINVAL;