diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-21 22:16:34 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-21 22:16:34 -0300 |
commit | a20d311c162fb0c2c6d5fc499852211e8936054d (patch) | |
tree | 2c2b0b3c83825d113d00ce87dc150e1c3e37e639 /linux/drivers/media/video/cx231xx/cx231xx-video.c | |
parent | abd67a8824bedd0562212ae4c205722d08ace135 (diff) | |
download | mediapointer-dvb-s2-a20d311c162fb0c2c6d5fc499852211e8936054d.tar.gz mediapointer-dvb-s2-a20d311c162fb0c2c6d5fc499852211e8936054d.tar.bz2 |
cx231xx: fix an inverted logic at vidioc_streamoff
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Priority: normal
CC: Srinivasa Deevi <srinivasa.deevi@conexant.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx231xx/cx231xx-video.c')
-rw-r--r-- | linux/drivers/media/video/cx231xx/cx231xx-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx231xx/cx231xx-video.c b/linux/drivers/media/video/cx231xx/cx231xx-video.c index c0a43a0dc..144eb9dd7 100644 --- a/linux/drivers/media/video/cx231xx/cx231xx-video.c +++ b/linux/drivers/media/video/cx231xx/cx231xx-video.c @@ -1614,7 +1614,7 @@ static int vidioc_streamoff(struct file *file, void *priv, if (rc < 0) return rc; - if ((fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) || + if ((fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) && (fh->type != V4L2_BUF_TYPE_VBI_CAPTURE)) return -EINVAL; if (type != fh->type) |