aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2014-04-23 10:32:11 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-05-23 11:17:37 -0400
commit3130a28a1568b1e447fbbbb5307573e0e4043bb3 (patch)
tree38637d7bb7b6cbb89afaf7f1cacbc286e41c3504 /Documentation
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>
Diffstat (limited to 'Documentation')
-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,
174 * You cannot use read() with FIELD_ALTERNATE since the field 174 * You cannot use read() with FIELD_ALTERNATE since the field
175 * information (TOP/BOTTOM) cannot be passed back to the user. 175 * information (TOP/BOTTOM) cannot be passed back to the user.
176 */ 176 */
177 if (vb2_fileio_is_active(q)) 177 if (vb2_fileio_is_active(vq))
178 return -EINVAL; 178 return -EINVAL;
179 skel->field = V4L2_FIELD_TOP; 179 skel->field = V4L2_FIELD_TOP;
180 } 180 }