aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-03-21 21:16:34 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-06 20:44:07 -0400
commit92fcbd3f4ea07a8efd2d2881645baae0a061c82e (patch)
tree05e79fc71020d66f27eea713aa225a99871a4de5 /drivers
parentecc67d108d6ade14d79c8546f5db36613c780d59 (diff)
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx231xx/cx231xx-video.c2
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,
1614 if (rc < 0) 1614 if (rc < 0)
1615 return rc; 1615 return rc;
1616 1616
1617 if ((fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) || 1617 if ((fh->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) &&
1618 (fh->type != V4L2_BUF_TYPE_VBI_CAPTURE)) 1618 (fh->type != V4L2_BUF_TYPE_VBI_CAPTURE))
1619 return -EINVAL; 1619 return -EINVAL;
1620 if (type != fh->type) 1620 if (type != fh->type)