summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-04-23 11:32:11 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 12:17:37 -0300
commit3130a28a1568b1e447fbbbb5307573e0e4043bb3 (patch)
tree38637d7bb7b6cbb89afaf7f1cacbc286e41c3504
parent5d60122b7e30f275593df93b39a76d3c2663cfc2 (diff)
[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>
-rw-r--r--Documentation/video4linux/v4l2-pci-skeleton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/video4linux/v4l2-pci-skeleton.c b/Documentation/video4linux/v4l2-pci-skeleton.c
index 53dd346586f6..46904fe49609 100644
--- a/Documentation/video4linux/v4l2-pci-skeleton.c
+++ b/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;
}