Skip to content

Commit 3130a28

Browse files
hverkuilmchehab
authored andcommitted
[media] v4l2-pci-skeleton: fix typo
Signed-off-by: Hans Verkuil <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
1 parent 5d60122 commit 3130a28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Documentation/video4linux/v4l2-pci-skeleton.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ static int queue_setup(struct vb2_queue *vq, const struct v4l2_format *fmt,
174174
* You cannot use read() with FIELD_ALTERNATE since the field
175175
* information (TOP/BOTTOM) cannot be passed back to the user.
176176
*/
177-
if (vb2_fileio_is_active(q))
177+
if (vb2_fileio_is_active(vq))
178178
return -EINVAL;
179179
skel->field = V4L2_FIELD_TOP;
180180
}

0 commit comments

Comments
 (0)