From: Hans Verkuil <hverkuil@xs4all.nl>
Date: Wed, 23 Apr 2014 14:32:11 +0000 (-0300)
Subject: [media] v4l2-pci-skeleton: fix typo
X-Git-Tag: firefly_0821_release~176^2~3573^2~182
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=3130a28a1568b1e447fbbbb5307573e0e4043bb3;p=firefly-linux-kernel-4.4.55.git

[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>
---

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;
 	}