summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/saa7134
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 18:58:38 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-07-05 18:58:38 -0300
commit59ad1e534e569f743df108421f369cbf915f2e6e (patch)
tree7a3a0177c072cc3fc8b4ff5204e7065d7971115c /linux/drivers/media/video/saa7134
parent9cc45cab6319967ccacdcb3b8c848ec555941200 (diff)
parent21ffe960decd954bf2e0959e5d85ec5484477bbd (diff)
downloadmediapointer-dvb-s2-59ad1e534e569f743df108421f369cbf915f2e6e.tar.gz
mediapointer-dvb-s2-59ad1e534e569f743df108421f369cbf915f2e6e.tar.bz2
merge: http://linuxtv.org/hg/~awalls/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')
-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;