aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-05 10:22:28 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:35 -0400
commit43c1daa47d57197c1491411a9f33189f9ef680dd (patch)
treead9c5b63814cc65ba23ee183a3a7c1a928a41d98 /Documentation/DocBook/media/v4l
parent6d1724925d4da49b84161f1440912205576b7935 (diff)
[media] DocBook: Use the generic ioctl error codes for all V4L ioctl's
Be sure that all VIDIOC_* ioctl are using the return error macro, and aren't specifying generic error codes internally. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l')
-rw-r--r--Documentation/DocBook/media/v4l/gen-errors.xml19
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-cropcap.xml13
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-ident.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-dbg-g-register.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-dqevent.xml10
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-enum-frameintervals.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-enum-framesizes.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-enumaudio.xml12
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-enumaudioout.xml12
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-audio.xml18
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-audioout.xml18
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-crop.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-dv-preset.xml12
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-enc-index.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml19
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-fmt.xml20
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-input.xml19
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-jpegcomp.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-output.xml18
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-parm.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-priority.xml3
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-sliced-vbi-cap.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-g-std.xml9
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-log-status.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-overlay.xml11
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-qbuf.xml17
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-query-dv-preset.xml22
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-querycap.xml19
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-querystd.xml23
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-reqbufs.xml16
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-streamon.xml14
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-subdev-g-fmt.xml3
-rw-r--r--Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml11
35 files changed, 53 insertions, 453 deletions
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index 1efc688ad665..6ef476a54016 100644
--- a/Documentation/DocBook/media/v4l/gen-errors.xml
+++ b/Documentation/DocBook/media/v4l/gen-errors.xml
@@ -10,7 +10,24 @@
10 <entry>The ioctl can't be handled because the device is busy. This is 10 <entry>The ioctl can't be handled because the device is busy. This is
11 typically return while device is streaming, and an ioctl tried to 11 typically return while device is streaming, and an ioctl tried to
12 change something that would affect the stream, or would require the 12 change something that would affect the stream, or would require the
13 usage of a hardware resource that was already allocated.</entry> 13 usage of a hardware resource that was already allocated. The ioctl
14 must not be retried without performing another action to fix the
15 problem first (typically: stop the stream before retrying).</entry>
16 </row>
17 <row>
18 <entry>EINVAL</entry>
19 <entry>The ioctl is not supported by the driver, actually meaning that
20 the required functionality is not available.</entry>
21 </row>
22 <row>
23 <entry>ENOMEM</entry>
24 <entry>There's not enough memory to handle the desired operation.</entry>
25 </row>
26 <row>
27 <entry>ENOSPC</entry>
28 <entry>On USB devices, the stream ioctl's can return this error meaning
29 that this request would overcommit the usb bandwidth reserved
30 for periodic transfers (up to 80% of the USB bandwidth).</entry>
14 </row> 31 </row>
15 </tbody> 32 </tbody>
16 </tgroup> 33 </tgroup>
diff --git a/Documentation/DocBook/media/v4l/vidioc-cropcap.xml b/Documentation/DocBook/media/v4l/vidioc-cropcap.xml
index 816e90e283c5..b4f2f255211e 100644
--- a/Documentation/DocBook/media/v4l/vidioc-cropcap.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-cropcap.xml
@@ -156,19 +156,10 @@ on 22 Oct 2002 subject "Re:[V4L][patches!] Re:v4l2/kernel-2.5" -->
156 <term><errorcode>EINVAL</errorcode></term> 156 <term><errorcode>EINVAL</errorcode></term>
157 <listitem> 157 <listitem>
158 <para>The &v4l2-cropcap; <structfield>type</structfield> is 158 <para>The &v4l2-cropcap; <structfield>type</structfield> is
159invalid or the ioctl is not supported. This is not permitted for 159invalid. This is not permitted for video capture, output and overlay devices,
160video capture, output and overlay devices, which must support 160which must support <constant>VIDIOC_CROPCAP</constant>.</para>
161<constant>VIDIOC_CROPCAP</constant>.</para>
162 </listitem> 161 </listitem>
163 </varlistentry> 162 </varlistentry>
164 </variablelist> 163 </variablelist>
165 </refsect1> 164 </refsect1>
166</refentry> 165</refentry>
167
168<!--
169Local Variables:
170mode: sgml
171sgml-parent-document: "v4l2.sgml"
172indent-tabs-mode: nil
173End:
174-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-ident.xml b/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-ident.xml
index 4a09e203af0f..4ecd966808de 100644
--- a/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-ident.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-dbg-g-chip-ident.xml
@@ -258,18 +258,9 @@ could not identify it.</entry>
258 <varlistentry> 258 <varlistentry>
259 <term><errorcode>EINVAL</errorcode></term> 259 <term><errorcode>EINVAL</errorcode></term>
260 <listitem> 260 <listitem>
261 <para>The driver does not support this ioctl, or the 261 <para>The <structfield>match_type</structfield> is invalid.</para>
262<structfield>match_type</structfield> is invalid.</para>
263 </listitem> 262 </listitem>
264 </varlistentry> 263 </varlistentry>
265 </variablelist> 264 </variablelist>
266 </refsect1> 265 </refsect1>
267</refentry> 266</refentry>
268
269<!--
270Local Variables:
271mode: sgml
272sgml-parent-document: "v4l2.sgml"
273indent-tabs-mode: nil
274End:
275-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-dbg-g-register.xml b/Documentation/DocBook/media/v4l/vidioc-dbg-g-register.xml
index 980c7f3e2fd6..a44aebc7997a 100644
--- a/Documentation/DocBook/media/v4l/vidioc-dbg-g-register.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-dbg-g-register.xml
@@ -247,15 +247,6 @@ register.</entry>
247 247
248 <variablelist> 248 <variablelist>
249 <varlistentry> 249 <varlistentry>
250 <term><errorcode>EINVAL</errorcode></term>
251 <listitem>
252 <para>The driver does not support this ioctl, or the kernel
253was not compiled with the <constant>CONFIG_VIDEO_ADV_DEBUG</constant>
254option, or the <structfield>match_type</structfield> is invalid, or the
255selected chip or register does not exist.</para>
256 </listitem>
257 </varlistentry>
258 <varlistentry>
259 <term><errorcode>EPERM</errorcode></term> 250 <term><errorcode>EPERM</errorcode></term>
260 <listitem> 251 <listitem>
261 <para>Insufficient permissions. Root privileges are required 252 <para>Insufficient permissions. Root privileges are required
@@ -265,11 +256,3 @@ to execute these ioctls.</para>
265 </variablelist> 256 </variablelist>
266 </refsect1> 257 </refsect1>
267</refentry> 258</refentry>
268
269<!--
270Local Variables:
271mode: sgml
272sgml-parent-document: "v4l2.sgml"
273indent-tabs-mode: nil
274End:
275-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-dqevent.xml b/Documentation/DocBook/media/v4l/vidioc-dqevent.xml
index b8c4f7657d69..7769642ee431 100644
--- a/Documentation/DocBook/media/v4l/vidioc-dqevent.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-dqevent.xml
@@ -136,11 +136,7 @@
136 </table> 136 </table>
137 137
138 </refsect1> 138 </refsect1>
139 <refsect1>
140 &return-value;
141 </refsect1>
139</refentry> 142</refentry>
140<!--
141Local Variables:
142mode: sgml
143sgml-parent-document: "v4l2.sgml"
144indent-tabs-mode: nil
145End:
146-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml b/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml
index b0dde943825c..af7f3f2a36dd 100644
--- a/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-encoder-cmd.xml
@@ -180,8 +180,7 @@ Pictures</wordasword>, rather than immediately.</entry>
180 <varlistentry> 180 <varlistentry>
181 <term><errorcode>EINVAL</errorcode></term> 181 <term><errorcode>EINVAL</errorcode></term>
182 <listitem> 182 <listitem>
183 <para>The driver does not support this ioctl, or the 183 <para>The <structfield>cmd</structfield> field is invalid.</para>
184<structfield>cmd</structfield> field is invalid.</para>
185 </listitem> 184 </listitem>
186 </varlistentry> 185 </varlistentry>
187 <varlistentry> 186 <varlistentry>
@@ -194,11 +193,3 @@ the encoder was not running.</para>
194 </variablelist> 193 </variablelist>
195 </refsect1> 194 </refsect1>
196</refentry> 195</refentry>
197
198<!--
199Local Variables:
200mode: sgml
201sgml-parent-document: "v4l2.sgml"
202indent-tabs-mode: nil
203End:
204-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-enum-frameintervals.xml b/Documentation/DocBook/media/v4l/vidioc-enum-frameintervals.xml
index 3c216e113a54..5fd72c4c33e3 100644
--- a/Documentation/DocBook/media/v4l/vidioc-enum-frameintervals.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-enum-frameintervals.xml
@@ -254,17 +254,6 @@ enumerated.</entry>
254 254
255 <refsect1> 255 <refsect1>
256 &return-value; 256 &return-value;
257
258 <para>See the description section above for a list of return
259values that <varname>errno</varname> can have.</para>
260 </refsect1> 257 </refsect1>
261 258
262</refentry> 259</refentry>
263
264<!--
265Local Variables:
266mode: sgml
267sgml-parent-document: "v4l2.sgml"
268indent-tabs-mode: nil
269End:
270-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-enum-framesizes.xml b/Documentation/DocBook/media/v4l/vidioc-enum-framesizes.xml
index 6afa4542c818..f77a13f486d7 100644
--- a/Documentation/DocBook/media/v4l/vidioc-enum-framesizes.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-enum-framesizes.xml
@@ -267,16 +267,5 @@ application should zero out all members except for the
267 267
268 <refsect1> 268 <refsect1>
269 &return-value; 269 &return-value;
270
271 <para>See the description section above for a list of return
272values that <varname>errno</varname> can have.</para>
273 </refsect1> 270 </refsect1>
274</refentry> 271</refentry>
275
276<!--
277Local Variables:
278mode: sgml
279sgml-parent-document: "v4l2.sgml"
280indent-tabs-mode: nil
281End:
282-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-enumaudio.xml b/Documentation/DocBook/media/v4l/vidioc-enumaudio.xml
index 9ae8f2d3a96f..ea816ab2e49e 100644
--- a/Documentation/DocBook/media/v4l/vidioc-enumaudio.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-enumaudio.xml
@@ -68,19 +68,9 @@ until the driver returns <errorcode>EINVAL</errorcode>.</para>
68 <varlistentry> 68 <varlistentry>
69 <term><errorcode>EINVAL</errorcode></term> 69 <term><errorcode>EINVAL</errorcode></term>
70 <listitem> 70 <listitem>
71 <para>The number of the audio input is out of bounds, or 71 <para>The number of the audio input is out of bounds.</para>
72there are no audio inputs at all and this ioctl is not
73supported.</para>
74 </listitem> 72 </listitem>
75 </varlistentry> 73 </varlistentry>
76 </variablelist> 74 </variablelist>
77 </refsect1> 75 </refsect1>
78</refentry> 76</refentry>
79
80<!--
81Local Variables:
82mode: sgml
83sgml-parent-document: "v4l2.sgml"
84indent-tabs-mode: nil
85End:
86-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-enumaudioout.xml b/Documentation/DocBook/media/v4l/vidioc-enumaudioout.xml
index d3d7c0ab17b8..2e87cedb0d32 100644
--- a/Documentation/DocBook/media/v4l/vidioc-enumaudioout.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-enumaudioout.xml
@@ -71,19 +71,9 @@ signal to a sound card are not audio outputs in this sense.</para>
71 <varlistentry> 71 <varlistentry>
72 <term><errorcode>EINVAL</errorcode></term> 72 <term><errorcode>EINVAL</errorcode></term>
73 <listitem> 73 <listitem>
74 <para>The number of the audio output is out of bounds, or 74 <para>The number of the audio output is out of bounds.</para>
75there are no audio outputs at all and this ioctl is not
76supported.</para>
77 </listitem> 75 </listitem>
78 </varlistentry> 76 </varlistentry>
79 </variablelist> 77 </variablelist>
80 </refsect1> 78 </refsect1>
81</refentry> 79</refentry>
82
83<!--
84Local Variables:
85mode: sgml
86sgml-parent-document: "v4l2.sgml"
87indent-tabs-mode: nil
88End:
89-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-audio.xml b/Documentation/DocBook/media/v4l/vidioc-g-audio.xml
index 65361a8c2b05..d7bb9b3738f6 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-audio.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-audio.xml
@@ -164,25 +164,9 @@ tuner.</entry>
164 <listitem> 164 <listitem>
165 <para>No audio inputs combine with the current video input, 165 <para>No audio inputs combine with the current video input,
166or the number of the selected audio input is out of bounds or it does 166or the number of the selected audio input is out of bounds or it does
167not combine, or there are no audio inputs at all and the ioctl is not 167not combine.</para>
168supported.</para>
169 </listitem>
170 </varlistentry>
171 <varlistentry>
172 <term><errorcode>EBUSY</errorcode></term>
173 <listitem>
174 <para>I/O is in progress, the input cannot be
175switched.</para>
176 </listitem> 168 </listitem>
177 </varlistentry> 169 </varlistentry>
178 </variablelist> 170 </variablelist>
179 </refsect1> 171 </refsect1>
180</refentry> 172</refentry>
181
182<!--
183Local Variables:
184mode: sgml
185sgml-parent-document: "v4l2.sgml"
186indent-tabs-mode: nil
187End:
188-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-audioout.xml b/Documentation/DocBook/media/v4l/vidioc-g-audioout.xml
index 3632730c5c6e..200a2704a970 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-audioout.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-audioout.xml
@@ -130,25 +130,9 @@ applications must set the array to zero.</entry>
130 <listitem> 130 <listitem>
131 <para>No audio outputs combine with the current video 131 <para>No audio outputs combine with the current video
132output, or the number of the selected audio output is out of bounds or 132output, or the number of the selected audio output is out of bounds or
133it does not combine, or there are no audio outputs at all and the 133it does not combine.</para>
134ioctl is not supported.</para>
135 </listitem>
136 </varlistentry>
137 <varlistentry>
138 <term><errorcode>EBUSY</errorcode></term>
139 <listitem>
140 <para>I/O is in progress, the output cannot be
141switched.</para>
142 </listitem> 134 </listitem>
143 </varlistentry> 135 </varlistentry>
144 </variablelist> 136 </variablelist>
145 </refsect1> 137 </refsect1>
146</refentry> 138</refentry>
147
148<!--
149Local Variables:
150mode: sgml
151sgml-parent-document: "v4l2.sgml"
152indent-tabs-mode: nil
153End:
154-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-crop.xml b/Documentation/DocBook/media/v4l/vidioc-g-crop.xml
index d235b1dedbed..01a50640dce0 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-crop.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-crop.xml
@@ -122,22 +122,5 @@ for &v4l2-cropcap; <structfield>bounds</structfield> is used.</entry>
122 122
123 <refsect1> 123 <refsect1>
124 &return-value; 124 &return-value;
125
126 <variablelist>
127 <varlistentry>
128 <term><errorcode>EINVAL</errorcode></term>
129 <listitem>
130 <para>Cropping is not supported.</para>
131 </listitem>
132 </varlistentry>
133 </variablelist>
134 </refsect1> 125 </refsect1>
135</refentry> 126</refentry>
136
137<!--
138Local Variables:
139mode: sgml
140sgml-parent-document: "v4l2.sgml"
141indent-tabs-mode: nil
142End:
143-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-dv-preset.xml b/Documentation/DocBook/media/v4l/vidioc-g-dv-preset.xml
index d733721a7519..7940c1149393 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-dv-preset.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-dv-preset.xml
@@ -97,14 +97,8 @@ If the preset is not supported, it returns an &EINVAL; </para>
97 </tbody> 97 </tbody>
98 </tgroup> 98 </tgroup>
99 </table> 99 </table>
100 100 </refsect1>
101 <refsect1>
102 &return-value;
101 </refsect1> 103 </refsect1>
102</refentry> 104</refentry>
103
104<!--
105Local Variables:
106mode: sgml
107sgml-parent-document: "v4l2.sgml"
108indent-tabs-mode: nil
109End:
110-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml b/Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml
index d5ec6abf0ce2..4a8648ae9a63 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-dv-timings.xml
@@ -212,12 +212,7 @@ bit 0 (V4L2_DV_VSYNC_POS_POL) is for vertical sync polarity and bit 1 (V4L2_DV_H
212 </tgroup> 212 </tgroup>
213 </table> 213 </table>
214 </refsect1> 214 </refsect1>
215 <refsect1>
216 &return-value;
217 </refsect1>
215</refentry> 218</refentry>
216
217<!--
218Local Variables:
219mode: sgml
220sgml-parent-document: "v4l2.sgml"
221indent-tabs-mode: nil
222End:
223-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-enc-index.xml b/Documentation/DocBook/media/v4l/vidioc-g-enc-index.xml
index 9f242e4b2948..2aef02c9044e 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-enc-index.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-enc-index.xml
@@ -192,22 +192,5 @@ this mask to obtain the picture coding type.</entry>
192 192
193 <refsect1> 193 <refsect1>
194 &return-value; 194 &return-value;
195
196 <variablelist>
197 <varlistentry>
198 <term><errorcode>EINVAL</errorcode></term>
199 <listitem>
200 <para>The driver does not support this ioctl.</para>
201 </listitem>
202 </varlistentry>
203 </variablelist>
204 </refsect1> 195 </refsect1>
205</refentry> 196</refentry>
206
207<!--
208Local Variables:
209mode: sgml
210sgml-parent-document: "v4l2.sgml"
211indent-tabs-mode: nil
212End:
213-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml b/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml
index e7dda4822f04..055718231bc1 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-fbuf.xml
@@ -446,28 +446,11 @@ overlay.</para>
446 </listitem> 446 </listitem>
447 </varlistentry> 447 </varlistentry>
448 <varlistentry> 448 <varlistentry>
449 <term><errorcode>EBUSY</errorcode></term>
450 <listitem>
451 <para>The framebuffer parameters cannot be changed at this
452time because overlay is already enabled, or capturing is enabled
453and the hardware cannot capture and overlay simultaneously.</para>
454 </listitem>
455 </varlistentry>
456 <varlistentry>
457 <term><errorcode>EINVAL</errorcode></term> 449 <term><errorcode>EINVAL</errorcode></term>
458 <listitem> 450 <listitem>
459 <para>The ioctl is not supported or the 451 <para>The <constant>VIDIOC_S_FBUF</constant> parameters are unsuitable.</para>
460<constant>VIDIOC_S_FBUF</constant> parameters are unsuitable.</para>
461 </listitem> 452 </listitem>
462 </varlistentry> 453 </varlistentry>
463 </variablelist> 454 </variablelist>
464 </refsect1> 455 </refsect1>
465</refentry> 456</refentry>
466
467<!--
468Local Variables:
469mode: sgml
470sgml-parent-document: "v4l2.sgml"
471indent-tabs-mode: nil
472End:
473-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-fmt.xml b/Documentation/DocBook/media/v4l/vidioc-g-fmt.xml
index a4ae59b664eb..17fbda15137b 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-fmt.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-fmt.xml
@@ -184,29 +184,13 @@ capture and output devices.</entry>
184 184
185 <variablelist> 185 <variablelist>
186 <varlistentry> 186 <varlistentry>
187 <term><errorcode>EBUSY</errorcode></term>
188 <listitem>
189 <para>The data format cannot be changed at this
190time, for example because I/O is already in progress.</para>
191 </listitem>
192 </varlistentry>
193 <varlistentry>
194 <term><errorcode>EINVAL</errorcode></term> 187 <term><errorcode>EINVAL</errorcode></term>
195 <listitem> 188 <listitem>
196 <para>The &v4l2-format; <structfield>type</structfield> 189 <para>The &v4l2-format; <structfield>type</structfield>
197field is invalid, the requested buffer type not supported, or 190field is invalid, the requested buffer type not supported, or the
198<constant>VIDIOC_TRY_FMT</constant> was called and is not 191format is not supported with this buffer type.</para>
199supported with this buffer type.</para>
200 </listitem> 192 </listitem>
201 </varlistentry> 193 </varlistentry>
202 </variablelist> 194 </variablelist>
203 </refsect1> 195 </refsect1>
204</refentry> 196</refentry>
205
206<!--
207Local Variables:
208mode: sgml
209sgml-parent-document: "v4l2.sgml"
210indent-tabs-mode: nil
211End:
212-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-input.xml b/Documentation/DocBook/media/v4l/vidioc-g-input.xml
index ed076e92760d..08ae82f131f2 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-input.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-input.xml
@@ -75,26 +75,9 @@ querying or negotiating any other parameters.</para>
75 <varlistentry> 75 <varlistentry>
76 <term><errorcode>EINVAL</errorcode></term> 76 <term><errorcode>EINVAL</errorcode></term>
77 <listitem> 77 <listitem>
78 <para>The number of the video input is out of bounds, or 78 <para>The number of the video input is out of bounds.</para>
79there are no video inputs at all and this ioctl is not
80supported.</para>
81 </listitem>
82 </varlistentry>
83 <varlistentry>
84 <term><errorcode>EBUSY</errorcode></term>
85 <listitem>
86 <para>I/O is in progress, the input cannot be
87switched.</para>
88 </listitem> 79 </listitem>
89 </varlistentry> 80 </varlistentry>
90 </variablelist> 81 </variablelist>
91 </refsect1> 82 </refsect1>
92</refentry> 83</refentry>
93
94<!--
95Local Variables:
96mode: sgml
97sgml-parent-document: "v4l2.sgml"
98indent-tabs-mode: nil
99End:
100-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-jpegcomp.xml b/Documentation/DocBook/media/v4l/vidioc-g-jpegcomp.xml
index 77394b287411..01ea24b84385 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-jpegcomp.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-jpegcomp.xml
@@ -159,22 +159,5 @@ to add them.</para>
159 159
160 <refsect1> 160 <refsect1>
161 &return-value; 161 &return-value;
162
163 <variablelist>
164 <varlistentry>
165 <term><errorcode>EINVAL</errorcode></term>
166 <listitem>
167 <para>This ioctl is not supported.</para>
168 </listitem>
169 </varlistentry>
170 </variablelist>
171 </refsect1> 162 </refsect1>
172</refentry> 163</refentry>
173
174<!--
175Local Variables:
176mode: sgml
177sgml-parent-document: "v4l2.sgml"
178indent-tabs-mode: nil
179End:
180-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-output.xml b/Documentation/DocBook/media/v4l/vidioc-g-output.xml
index 3ea8c0ed812e..fd45f1c13ccf 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-output.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-output.xml
@@ -76,25 +76,9 @@ negotiating any other parameters.</para>
76 <term><errorcode>EINVAL</errorcode></term> 76 <term><errorcode>EINVAL</errorcode></term>
77 <listitem> 77 <listitem>
78 <para>The number of the video output is out of bounds, or 78 <para>The number of the video output is out of bounds, or
79there are no video outputs at all and this ioctl is not 79there are no video outputs at all.</para>
80supported.</para>
81 </listitem>
82 </varlistentry>
83 <varlistentry>
84 <term><errorcode>EBUSY</errorcode></term>
85 <listitem>
86 <para>I/O is in progress, the output cannot be
87switched.</para>
88 </listitem> 80 </listitem>
89 </varlistentry> 81 </varlistentry>
90 </variablelist> 82 </variablelist>
91 </refsect1> 83 </refsect1>
92</refentry> 84</refentry>
93
94<!--
95Local Variables:
96mode: sgml
97sgml-parent-document: "v4l2.sgml"
98indent-tabs-mode: nil
99End:
100-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-parm.xml b/Documentation/DocBook/media/v4l/vidioc-g-parm.xml
index 392aa9e5571e..19b1d85dd668 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-parm.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-parm.xml
@@ -311,22 +311,5 @@ excessive motion blur. </para>
311 311
312 <refsect1> 312 <refsect1>
313 &return-value; 313 &return-value;
314
315 <variablelist>
316 <varlistentry>
317 <term><errorcode>EINVAL</errorcode></term>
318 <listitem>
319 <para>This ioctl is not supported.</para>
320 </listitem>
321 </varlistentry>
322 </variablelist>
323 </refsect1> 314 </refsect1>
324</refentry> 315</refentry>
325
326<!--
327Local Variables:
328mode: sgml
329sgml-parent-document: "v4l2.sgml"
330indent-tabs-mode: nil
331End:
332-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-priority.xml b/Documentation/DocBook/media/v4l/vidioc-g-priority.xml
index 5fb001978645..8f5e3da7002f 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-priority.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-priority.xml
@@ -120,8 +120,7 @@ recording.</entry>
120 <varlistentry> 120 <varlistentry>
121 <term><errorcode>EINVAL</errorcode></term> 121 <term><errorcode>EINVAL</errorcode></term>
122 <listitem> 122 <listitem>
123 <para>The requested priority value is invalid, or the 123 <para>The requested priority value is invalid.</para>
124driver does not support access priorities.</para>
125 </listitem> 124 </listitem>
126 </varlistentry> 125 </varlistentry>
127 <varlistentry> 126 <varlistentry>
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-sliced-vbi-cap.xml b/Documentation/DocBook/media/v4l/vidioc-g-sliced-vbi-cap.xml
index 10e721b17374..71741daaf725 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-sliced-vbi-cap.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-sliced-vbi-cap.xml
@@ -246,19 +246,10 @@ line systems.</entry>
246 <varlistentry> 246 <varlistentry>
247 <term><errorcode>EINVAL</errorcode></term> 247 <term><errorcode>EINVAL</errorcode></term>
248 <listitem> 248 <listitem>
249 <para>The device does not support sliced VBI capturing or 249 <para>The value in the <structfield>type</structfield> field is
250output, or the value in the <structfield>type</structfield> field is
251wrong.</para> 250wrong.</para>
252 </listitem> 251 </listitem>
253 </varlistentry> 252 </varlistentry>
254 </variablelist> 253 </variablelist>
255 </refsect1> 254 </refsect1>
256</refentry> 255</refentry>
257
258<!--
259Local Variables:
260mode: sgml
261sgml-parent-document: "v4l2.sgml"
262indent-tabs-mode: nil
263End:
264-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-g-std.xml b/Documentation/DocBook/media/v4l/vidioc-g-std.xml
index 912f8513e5da..37996f25b5d4 100644
--- a/Documentation/DocBook/media/v4l/vidioc-g-std.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-g-std.xml
@@ -82,14 +82,7 @@ standards.</para>
82 <varlistentry> 82 <varlistentry>
83 <term><errorcode>EINVAL</errorcode></term> 83 <term><errorcode>EINVAL</errorcode></term>
84 <listitem> 84 <listitem>
85 <para>This ioctl is not supported, or the 85 <para>The <constant>VIDIOC_S_STD</constant> parameter was unsuitable.</para>
86<constant>VIDIOC_S_STD</constant> parameter was unsuitable.</para>
87 </listitem>
88 </varlistentry>
89 <varlistentry>
90 <term><errorcode>EBUSY</errorcode></term>
91 <listitem>
92 <para>The device is busy and therefore can not change the standard</para>
93 </listitem> 86 </listitem>
94 </varlistentry> 87 </varlistentry>
95 </variablelist> 88 </variablelist>
diff --git a/Documentation/DocBook/media/v4l/vidioc-log-status.xml b/Documentation/DocBook/media/v4l/vidioc-log-status.xml
index 2634b7c88b58..5ded7d35e27b 100644
--- a/Documentation/DocBook/media/v4l/vidioc-log-status.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-log-status.xml
@@ -37,22 +37,5 @@ was introduced in Linux 2.6.15.</para>
37 37
38 <refsect1> 38 <refsect1>
39 &return-value; 39 &return-value;
40
41 <variablelist>
42 <varlistentry>
43 <term><errorcode>EINVAL</errorcode></term>
44 <listitem>
45 <para>The driver does not support this ioctl.</para>
46 </listitem>
47 </varlistentry>
48 </variablelist>
49 </refsect1> 40 </refsect1>
50</refentry> 41</refentry>
51
52<!--
53Local Variables:
54mode: sgml
55sgml-parent-document: "v4l2.sgml"
56indent-tabs-mode: nil
57End:
58-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-overlay.xml b/Documentation/DocBook/media/v4l/vidioc-overlay.xml
index 1036c582cc15..250a7de1877f 100644
--- a/Documentation/DocBook/media/v4l/vidioc-overlay.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-overlay.xml
@@ -65,19 +65,10 @@
65 <varlistentry> 65 <varlistentry>
66 <term><errorcode>EINVAL</errorcode></term> 66 <term><errorcode>EINVAL</errorcode></term>
67 <listitem> 67 <listitem>
68 <para>Video overlay is not supported, or the 68 <para>The overlay parameters have not been set up. See <xref
69parameters have not been set up. See <xref
70linkend="overlay" /> for the necessary steps.</para> 69linkend="overlay" /> for the necessary steps.</para>
71 </listitem> 70 </listitem>
72 </varlistentry> 71 </varlistentry>
73 </variablelist> 72 </variablelist>
74 </refsect1> 73 </refsect1>
75</refentry> 74</refentry>
76
77<!--
78Local Variables:
79mode: sgml
80sgml-parent-document: "v4l2.sgml"
81indent-tabs-mode: nil
82End:
83-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-qbuf.xml b/Documentation/DocBook/media/v4l/vidioc-qbuf.xml
index f2b11f8a4031..9caa49af580f 100644
--- a/Documentation/DocBook/media/v4l/vidioc-qbuf.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-qbuf.xml
@@ -158,15 +158,6 @@ or no buffers have been allocated yet, or the
158<structfield>userptr</structfield> or 158<structfield>userptr</structfield> or
159<structfield>length</structfield> are invalid.</para> 159<structfield>length</structfield> are invalid.</para>
160 </listitem> 160 </listitem>
161 </varlistentry>
162 <varlistentry>
163 <term><errorcode>ENOMEM</errorcode></term>
164 <listitem>
165 <para>Not enough physical or virtual memory was available to
166enqueue a user pointer buffer.</para>
167 </listitem>
168 </varlistentry>
169 <varlistentry>
170 <term><errorcode>EIO</errorcode></term> 161 <term><errorcode>EIO</errorcode></term>
171 <listitem> 162 <listitem>
172 <para><constant>VIDIOC_DQBUF</constant> failed due to an 163 <para><constant>VIDIOC_DQBUF</constant> failed due to an
@@ -184,11 +175,3 @@ continue streaming.
184 </variablelist> 175 </variablelist>
185 </refsect1> 176 </refsect1>
186</refentry> 177</refentry>
187
188<!--
189Local Variables:
190mode: sgml
191sgml-parent-document: "v4l2.sgml"
192indent-tabs-mode: nil
193End:
194-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-query-dv-preset.xml b/Documentation/DocBook/media/v4l/vidioc-query-dv-preset.xml
index d272f7ab91b8..23b17f604211 100644
--- a/Documentation/DocBook/media/v4l/vidioc-query-dv-preset.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-query-dv-preset.xml
@@ -61,27 +61,5 @@ returned.</para>
61 61
62 <refsect1> 62 <refsect1>
63 &return-value; 63 &return-value;
64 <variablelist>
65 <varlistentry>
66 <term><errorcode>EINVAL</errorcode></term>
67 <listitem>
68 <para>This ioctl is not supported.</para>
69 </listitem>
70 </varlistentry>
71 <varlistentry>
72 <term><errorcode>EBUSY</errorcode></term>
73 <listitem>
74 <para>The device is busy and therefore can not sense the preset</para>
75 </listitem>
76 </varlistentry>
77 </variablelist>
78 </refsect1> 64 </refsect1>
79</refentry> 65</refentry>
80
81<!--
82Local Variables:
83mode: sgml
84sgml-parent-document: "v4l2.sgml"
85indent-tabs-mode: nil
86End:
87-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-querycap.xml b/Documentation/DocBook/media/v4l/vidioc-querycap.xml
index 7aa697323c79..e3664d6f2de4 100644
--- a/Documentation/DocBook/media/v4l/vidioc-querycap.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-querycap.xml
@@ -283,24 +283,5 @@ linkend="mmap">streaming</link> I/O method.</entry>
283 283
284 <refsect1> 284 <refsect1>
285 &return-value; 285 &return-value;
286
287 <variablelist>
288 <varlistentry>
289 <term><errorcode>EINVAL</errorcode></term>
290 <listitem>
291 <para>The device is not compatible with this
292specification.</para>
293 </listitem>
294 </varlistentry>
295 </variablelist>
296 </refsect1> 286 </refsect1>
297</refentry> 287</refentry>
298
299<!--
300Local Variables:
301mode: sgml
302sgml-parent-document: "v4l2.sgml"
303indent-tabs-mode: nil
304End:
305-->
306
diff --git a/Documentation/DocBook/media/v4l/vidioc-querystd.xml b/Documentation/DocBook/media/v4l/vidioc-querystd.xml
index 1a9e60393091..4b79c7c04ed6 100644
--- a/Documentation/DocBook/media/v4l/vidioc-querystd.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-querystd.xml
@@ -62,28 +62,5 @@ current video input or output.</para>
62 62
63 <refsect1> 63 <refsect1>
64 &return-value; 64 &return-value;
65
66 <variablelist>
67 <varlistentry>
68 <term><errorcode>EINVAL</errorcode></term>
69 <listitem>
70 <para>This ioctl is not supported.</para>
71 </listitem>
72 </varlistentry>
73 <varlistentry>
74 <term><errorcode>EBUSY</errorcode></term>
75 <listitem>
76 <para>The device is busy and therefore can not detect the standard</para>
77 </listitem>
78 </varlistentry>
79 </variablelist>
80 </refsect1> 65 </refsect1>
81</refentry> 66</refentry>
82
83<!--
84Local Variables:
85mode: sgml
86sgml-parent-document: "v4l2.sgml"
87indent-tabs-mode: nil
88End:
89-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-reqbufs.xml b/Documentation/DocBook/media/v4l/vidioc-reqbufs.xml
index 69800ae23348..7be4b1d29b90 100644
--- a/Documentation/DocBook/media/v4l/vidioc-reqbufs.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-reqbufs.xml
@@ -122,14 +122,6 @@ higher. This array should be zeroed by applications.</entry>
122 122
123 <variablelist> 123 <variablelist>
124 <varlistentry> 124 <varlistentry>
125 <term><errorcode>EBUSY</errorcode></term>
126 <listitem>
127 <para>The driver supports multiple opens and I/O is already
128in progress, or reallocation of buffers was attempted although one or
129more are still mapped.</para>
130 </listitem>
131 </varlistentry>
132 <varlistentry>
133 <term><errorcode>EINVAL</errorcode></term> 125 <term><errorcode>EINVAL</errorcode></term>
134 <listitem> 126 <listitem>
135 <para>The buffer type (<structfield>type</structfield> field) or the 127 <para>The buffer type (<structfield>type</structfield> field) or the
@@ -140,11 +132,3 @@ supported.</para>
140 </variablelist> 132 </variablelist>
141 </refsect1> 133 </refsect1>
142</refentry> 134</refentry>
143
144<!--
145Local Variables:
146mode: sgml
147sgml-parent-document: "v4l2.sgml"
148indent-tabs-mode: nil
149End:
150-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-streamon.xml b/Documentation/DocBook/media/v4l/vidioc-streamon.xml
index 75ed39bf4d2b..81cca4569050 100644
--- a/Documentation/DocBook/media/v4l/vidioc-streamon.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-streamon.xml
@@ -88,9 +88,9 @@ synchronize with other events.</para>
88 <varlistentry> 88 <varlistentry>
89 <term><errorcode>EINVAL</errorcode></term> 89 <term><errorcode>EINVAL</errorcode></term>
90 <listitem> 90 <listitem>
91 <para>Streaming I/O is not supported, the buffer 91 <para>The buffer<structfield>type</structfield> is not supported,
92<structfield>type</structfield> is not supported, or no buffers have 92 or no buffers have been allocated (memory mapping) or enqueued
93been allocated (memory mapping) or enqueued (output) yet.</para> 93 (output) yet.</para>
94 </listitem> 94 </listitem>
95 </varlistentry> 95 </varlistentry>
96 <varlistentry> 96 <varlistentry>
@@ -105,11 +105,3 @@ been allocated (memory mapping) or enqueued (output) yet.</para>
105 </variablelist> 105 </variablelist>
106 </refsect1> 106 </refsect1>
107</refentry> 107</refentry>
108
109<!--
110Local Variables:
111mode: sgml
112sgml-parent-document: "v4l2.sgml"
113indent-tabs-mode: nil
114End:
115-->
diff --git a/Documentation/DocBook/media/v4l/vidioc-subdev-g-fmt.xml b/Documentation/DocBook/media/v4l/vidioc-subdev-g-fmt.xml
index f367c570c530..a67cde6f8c54 100644
--- a/Documentation/DocBook/media/v4l/vidioc-subdev-g-fmt.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-subdev-g-fmt.xml
@@ -177,4 +177,7 @@
177 </varlistentry> 177 </varlistentry>
178 </variablelist> 178 </variablelist>
179 </refsect1> 179 </refsect1>
180 <refsect1>
181 &return-value;
182 </refsect1>
180</refentry> 183</refentry>
diff --git a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml
index 25471e8e5da5..69c0d8a2a3d2 100644
--- a/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml
+++ b/Documentation/DocBook/media/v4l/vidioc-subscribe-event.xml
@@ -290,13 +290,8 @@
290 </tbody> 290 </tbody>
291 </tgroup> 291 </tgroup>
292 </table> 292 </table>
293 293 </refsect1>
294 <refsect1>
295 &return-value;
294 </refsect1> 296 </refsect1>
295</refentry> 297</refentry>
296<!--
297Local Variables:
298mode: sgml
299sgml-parent-document: "v4l2.sgml"
300indent-tabs-mode: nil
301End:
302-->