aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/DocBook/media/v4l/gen-errors.xml
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-05 10:37:58 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 16:53:35 -0400
commitdfcf4f9d97eec997283e41cef2d2b6956c32fecd (patch)
tree072056f3e96d39b68da58dfe6254f812f627f6af /Documentation/DocBook/media/v4l/gen-errors.xml
parent43c1daa47d57197c1491411a9f33189f9ef680dd (diff)
[media] DocBook: Use the generic error code page also for MC API
Instead of having their own generic error codes at the MC API, move its section to the generic one and be sure that all media ioctl's will point to it. Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/media/v4l/gen-errors.xml')
-rw-r--r--Documentation/DocBook/media/v4l/gen-errors.xml16
1 files changed, 15 insertions, 1 deletions
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index 6ef476a54016..9bf9ca7f46dc 100644
--- a/Documentation/DocBook/media/v4l/gen-errors.xml
+++ b/Documentation/DocBook/media/v4l/gen-errors.xml
@@ -5,6 +5,11 @@
5 <tgroup cols="2"> 5 <tgroup cols="2">
6 &cs-str; 6 &cs-str;
7 <tbody valign="top"> 7 <tbody valign="top">
8 <!-- Keep it ordered alphabetically -->
9 <row>
10 <entry>EBADF</entry>
11 <entry><parameter>fd</parameter> is not a valid open file descriptor.</entry>
12 </row>
8 <row> 13 <row>
9 <entry>EBUSY</entry> 14 <entry>EBUSY</entry>
10 <entry>The ioctl can't be handled because the device is busy. This is 15 <entry>The ioctl can't be handled because the device is busy. This is
@@ -15,7 +20,16 @@
15 problem first (typically: stop the stream before retrying).</entry> 20 problem first (typically: stop the stream before retrying).</entry>
16 </row> 21 </row>
17 <row> 22 <row>
23 <entry>EFAULT</entry>
24 <entry><parameter>fd</parameter> is not a valid open file descriptor.</entry>
25 </row>
26 <row>
18 <entry>EINVAL</entry> 27 <entry>EINVAL</entry>
28 <entry>One or more of the ioctl parameters are invalid. This is a widely
29 used error code. See the individual ioctl requests for actual causes.</entry>
30 </row>
31 <row>
32 <entry>EINVAL or ENOTTY</entry>
19 <entry>The ioctl is not supported by the driver, actually meaning that 33 <entry>The ioctl is not supported by the driver, actually meaning that
20 the required functionality is not available.</entry> 34 the required functionality is not available.</entry>
21 </row> 35 </row>
@@ -25,7 +39,7 @@
25 </row> 39 </row>
26 <row> 40 <row>
27 <entry>ENOSPC</entry> 41 <entry>ENOSPC</entry>
28 <entry>On USB devices, the stream ioctl's can return this error meaning 42 <entry>On USB devices, the stream ioctl's can return this error, meaning
29 that this request would overcommit the usb bandwidth reserved 43 that this request would overcommit the usb bandwidth reserved
30 for periodic transfers (up to 80% of the USB bandwidth).</entry> 44 for periodic transfers (up to 80% of the USB bandwidth).</entry>
31 </row> 45 </row>