aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-create-bufs.xml8
1 files changed, 7 insertions, 1 deletions
diff --git a/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml b/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml
index a2474ecb574a..5e73b1c8d095 100644
--- a/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-create-bufs.xml
@@ -97,7 +97,13 @@ information.</para>
97 <row> 97 <row>
98 <entry>__u32</entry> 98 <entry>__u32</entry>
99 <entry><structfield>count</structfield></entry> 99 <entry><structfield>count</structfield></entry>
100 <entry>The number of buffers requested or granted.</entry> 100 <entry>The number of buffers requested or granted. If count == 0, then
101 <constant>VIDIOC_CREATE_BUFS</constant> will set <structfield>index</structfield>
102 to the current number of created buffers, and it will check the validity of
103 <structfield>memory</structfield> and <structfield>format.type</structfield>.
104 If those are invalid -1 is returned and errno is set to &EINVAL;,
105 otherwise <constant>VIDIOC_CREATE_BUFS</constant> returns 0. It will
106 never set errno to &EBUSY; in this particular case.</entry>
101 </row> 107 </row>
102 <row> 108 <row>
103 <entry>__u32</entry> 109 <entry>__u32</entry>