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:57:05 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-07-27 17:53:36 -0300
commit4c14e4a93f02e89e7d0a62604a7652f61057c923 (patch)
tree6f87bbe237408ea77dafa7ccdc4bf08f6d03e194 /Documentation/DocBook/media/v4l/gen-errors.xml
parent9e1d50756bad35c7e1b566bed9426f68d93135fd (diff)
[media] DocBook: Remove V4L generic error description for ioctl()
V4L ioctl function descripton also has a generic error chapter. Remove it, as it is now obsoleted by a general, multi-API generic error descriptions. 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.xml10
1 files changed, 9 insertions, 1 deletions
diff --git a/Documentation/DocBook/media/v4l/gen-errors.xml b/Documentation/DocBook/media/v4l/gen-errors.xml
index 9bf9ca7f46d..4268c658652 100644
--- a/Documentation/DocBook/media/v4l/gen-errors.xml
+++ b/Documentation/DocBook/media/v4l/gen-errors.xml
@@ -31,7 +31,8 @@
<row>
<entry>EINVAL or ENOTTY</entry>
<entry>The ioctl is not supported by the driver, actually meaning that
- the required functionality is not available.</entry>
+ the required functionality is not available, or the file
+ descriptor is not for a media device.</entry>
</row>
<row>
<entry>ENOMEM</entry>
@@ -46,3 +47,10 @@
</tbody>
</tgroup>
</table>
+
+<para>Note 1: ioctls may return other error codes. Since errors may have side
+effects such as a driver reset, applications should abort on unexpected errors.
+</para>
+
+<para>Note 2: Request-specific error codes are listed in the individual
+requests descriptions.</para>