forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
ecc67d108d
commit
92fcbd3f4e
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user