diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 18:58:38 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-05 18:58:38 -0300 |
commit | 59ad1e534e569f743df108421f369cbf915f2e6e (patch) | |
tree | 7a3a0177c072cc3fc8b4ff5204e7065d7971115c /linux/drivers/media/video/saa7134 | |
parent | 9cc45cab6319967ccacdcb3b8c848ec555941200 (diff) | |
parent | 21ffe960decd954bf2e0959e5d85ec5484477bbd (diff) | |
download | mediapointer-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.c | 2 |
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; |