]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commitdiff
[media] media: doc-rst: document ENODATA for cropping ioctls
authorHans Verkuil <hverkuil@xs4all.nl>
Wed, 20 Jul 2016 12:39:42 +0000 (09:39 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 24 Aug 2016 12:58:02 +0000 (09:58 -0300)
Document that the cropping ioctls can return ENODATA if the operation
isn't supported for the current input or output.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Documentation/media/uapi/v4l/vidioc-cropcap.rst
Documentation/media/uapi/v4l/vidioc-g-crop.rst
Documentation/media/uapi/v4l/vidioc-g-selection.rst

index b41fdd69054bb5f50745571b8b08ff0459caee83..9b7c99eef7171e9d7204caa3a705b11ff463e3fd 100644 (file)
@@ -167,3 +167,6 @@ appropriately. The generic error codes are described at the
 EINVAL
     The struct :ref:`v4l2_cropcap <v4l2-cropcap>` ``type`` is
     invalid.
+
+ENODATA
+    Cropping is not supported for this input or output.
index d4b0607162c5f74269af658c6103b07eecd071ba..1689b0c523d7304614d7a598383a3e7c3685da48 100644 (file)
@@ -112,3 +112,6 @@ Return Value
 On success 0 is returned, on error -1 and the ``errno`` variable is set
 appropriately. The generic error codes are described at the
 :ref:`Generic Error Codes <gen-errors>` chapter.
+
+ENODATA
+    Cropping is not supported for this input or output.
index 34be08541ed89801f86e394b23005b7a11d79df2..85b5afa48474ebbba1c871526b56c0ed15856b9f 100644 (file)
@@ -211,6 +211,9 @@ ERANGE
     ``r`` rectangle to satisfy all constraints given in the ``flags``
     argument.
 
+ENODATA
+    Selection is not supported for this input or output.
+
 EBUSY
     It is not possible to apply change of the selection rectangle at the
     moment. Usually because streaming is in progress.