summaryrefslogtreecommitdiffstats
path: root/Documentation/video4linux/v4l2-pci-skeleton.c
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-04-23 16:32:11 +0200
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 17:17:37 +0200
commit3130a28a1568b1e447fbbbb5307573e0e4043bb3 (patch)
tree38637d7bb7b6cbb89afaf7f1cacbc286e41c3504 /Documentation/video4linux/v4l2-pci-skeleton.c
parent[media] radio-bcm2048: fix wrong overflow check (diff)
downloadlinux-3130a28a1568b1e447fbbbb5307573e0e4043bb3.tar.xz
linux-3130a28a1568b1e447fbbbb5307573e0e4043bb3.zip
[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>
Diffstat (limited to 'Documentation/video4linux/v4l2-pci-skeleton.c')
-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;
}