aboutsummaryrefslogtreecommitdiff
path: root/Documentation/DocBook/media/v4l/gen-errors.xml
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2011-07-05 11:22:28 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:35 -0300
commit43c1daa47d57197c1491411a9f33189f9ef680dd (patch)
treead9c5b63814cc65ba23ee183a3a7c1a928a41d98 /Documentation/DocBook/media/v4l/gen-errors.xml
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/gen-errors.xml')
-rw-r--r--Documentation/DocBook/media/v4l/gen-errors.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index 1efc688ad66..6ef476a5401 100644
--- a/Documentation/DocBook/media/v4l/gen-errors.xml
+++ b/Documentation/DocBook/media/v4l/gen-errors.xml
@@ -10,7 +10,24 @@
<entry>The ioctl can't be handled because the device is busy. This is
typically return while device is streaming, and an ioctl tried to
change something that would affect the stream, or would require the
- usage of a hardware resource that was already allocated.</entry>
+ usage of a hardware resource that was already allocated. The ioctl
+ must not be retried without performing another action to fix the
+ problem first (typically: stop the stream before retrying).</entry>
+ </row>
+ <row>
+ <entry>EINVAL</entry>
+ <entry>The ioctl is not supported by the driver, actually meaning that
+ the required functionality is not available.</entry>
+ </row>
+ <row>
+ <entry>ENOMEM</entry>
+ <entry>There's not enough memory to handle the desired operation.</entry>
+ </row>
+ <row>
+ <entry>ENOSPC</entry>
+ <entry>On USB devices, the stream ioctl's can return this error meaning
+ that this request would overcommit the usb bandwidth reserved
+ for periodic transfers (up to 80% of the USB bandwidth).</entry>
</row>
</tbody>
</tgroup>