Skip to contentSkip to conversation

v4l2-pci-skeleton: fix typo

PATCH New Hans Verkuil 1 participant 1 message Apr 23, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 v4l2-pci-skeleton: fix typo

Documentation/video4linux/v4l2-pci-skeleton.c +1 -1
index 53dd346..46904fe 100644
@@ -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;
 	}