diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-03-22 02:16:34 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-04-07 02:44:07 +0200 |
commit | 92fcbd3f4ea07a8efd2d2881645baae0a061c82e (patch) | |
tree | 05e79fc71020d66f27eea713aa225a99871a4de5 | |
parent | V4L/DVB (11129): cx231xx: Use generic names for each device block (diff) | |
download | linux-92fcbd3f4ea07a8efd2d2881645baae0a061c82e.tar.xz linux-92fcbd3f4ea07a8efd2d2881645baae0a061c82e.zip |
V4L/DVB (11130): cx231xx: fix an inverted logic at vidioc_streamoff
Cc: Srinivasa Deevi <srinivasa.deevi@conexant.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/cx231xx/cx231xx-video.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx231xx/cx231xx-video.c b/drivers/media/video/cx231xx/cx231xx-video.c index c8d6e9a04723..9b89a91e0c2a 100644 --- a/drivers/media/video/cx231xx/cx231xx-video.c +++ b/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) |