diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-05 10:22:28 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-07-27 16:53:35 -0400 |
commit | 43c1daa47d57197c1491411a9f33189f9ef680dd (patch) | |
tree | ad9c5b63814cc65ba23ee183a3a7c1a928a41d98 /Documentation/DocBook/media/v4l/vidioc-g-fmt.xml | |
parent | 6d1724925d4da49b84161f1440912205576b7935 (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/vidioc-g-fmt.xml')
-rw-r--r-- | Documentation/DocBook/media/v4l/vidioc-g-fmt.xml | 20 |
1 files changed, 2 insertions, 18 deletions
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 | ||
190 | time, 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> |
197 | field is invalid, the requested buffer type not supported, or | 190 | field is invalid, the requested buffer type not supported, or the |
198 | <constant>VIDIOC_TRY_FMT</constant> was called and is not | 191 | format is not supported with this buffer type.</para> |
199 | supported 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 | <!-- | ||
207 | Local Variables: | ||
208 | mode: sgml | ||
209 | sgml-parent-document: "v4l2.sgml" | ||
210 | indent-tabs-mode: nil | ||
211 | End: | ||
212 | --> | ||