浏览代码

[media] v4l2-pci-skeleton: fix typo

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Hans Verkuil 11 年之前
父节点
当前提交
3130a28a15
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Documentation/video4linux/v4l2-pci-skeleton.c

+ 1 - 1
Documentation/video4linux/v4l2-pci-skeleton.c

@@ -174,7 +174,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt,
 		 * You cannot use read() with FIELD_ALTERNATE since the field
 		 * information (TOP/BOTTOM) cannot be passed back to the user.
 		 */
-		if (vb2_fileio_is_active(q))
+		if (vb2_fileio_is_active(vq))
 			return -EINVAL;
 		skel->field = V4L2_FIELD_TOP;
 	}