summaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l/vidioc-querybuf.xml
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-06-05 05:11:15 -0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-06-06 07:38:10 -0300
commitdc8b1c0e89f3473221f35b7aaf7419e2d2c16fe9 (patch)
tree97e3302d4e48b709173ec349cb0cc482baa9afd5 /Documentation/DocBook/media/v4l/vidioc-querybuf.xml
parent5d3512514ae7e21e869ea306f902b6be428e2578 (diff)
downloadblackbird-op-linux-dc8b1c0e89f3473221f35b7aaf7419e2d2c16fe9.tar.gz
blackbird-op-linux-dc8b1c0e89f3473221f35b7aaf7419e2d2c16fe9.zip
[media] DocBook media: correct description of reserved fields
Make sure that the documentation clearly states who is zeroing reserved fields: drivers and/or applications. This patch syncs the documentation with the checks that v4l2-compliance and valgrind do. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l/vidioc-querybuf.xml')
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-querybuf.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-querybuf.xml b/Documentation/DocBook/media/v4l/vidioc-querybuf.xml
index a597155c052d..50bfcb5e8508 100644
--- a/Documentation/DocBook/media/v4l/vidioc-querybuf.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-querybuf.xml
@@ -60,7 +60,8 @@ buffer at any time after buffers have been allocated with the
field. Valid index numbers range from zero
to the number of buffers allocated with &VIDIOC-REQBUFS;
(&v4l2-requestbuffers; <structfield>count</structfield>) minus one.
-The <structfield>reserved</structfield> field should to set to 0.
+The <structfield>reserved</structfield> and <structfield>reserved2 </structfield>
+fields must be set to 0.
When using the <link linkend="planar-apis">multi-planar API</link>, the
<structfield>m.planes</structfield> field must contain a userspace pointer to an
array of &v4l2-plane; and the <structfield>length</structfield> field has
OpenPOWER on IntegriCloud