summaryrefslogtreecommitdiff
path: root/Documentation/media/uapi/v4l/vidioc-g-crop.rst
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2016-07-20 09:39:42 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-08-24 09:58:02 -0300
commit3f8d56b0223d18b58597331cdf8422348dd51870 (patch)
treea9140e1dcc2933376f0a9bf79ab5791e2d0200ef /Documentation/media/uapi/v4l/vidioc-g-crop.rst
parent0d0abef8d457c96dbb388cac5d3aec81650d8036 (diff)
[media] media: doc-rst: document ENODATA for cropping ioctls
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>
Diffstat (limited to 'Documentation/media/uapi/v4l/vidioc-g-crop.rst')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-crop.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-g-crop.rst b/Documentation/media/uapi/v4l/vidioc-g-crop.rst
index d4b0607162c5..1689b0c523d7 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-crop.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-crop.rst
@@ -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.