aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/media
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-06-26 06:26:24 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-06-26 07:57:09 -0300
commit4ee92289c269dfe91e0e3858399c244dc92fa20e (patch)
tree477ce04f9492f333545d817afeebfd303d78c706 /Documentation/media
parentmedia: dtv-core.rst: complete description of a demod driver (diff)
downloadlinux-dev-4ee92289c269dfe91e0e3858399c244dc92fa20e.tar.xz
linux-dev-4ee92289c269dfe91e0e3858399c244dc92fa20e.zip
media: docs-rst: Document EBUSY for VIDIOC_S_FMT
VIDIOC_S_FMT may return EBUSY if the device is streaming or there are buffers allocated. Document this. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media')
-rw-r--r--Documentation/media/uapi/v4l/vidioc-g-fmt.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/media/uapi/v4l/vidioc-g-fmt.rst b/Documentation/media/uapi/v4l/vidioc-g-fmt.rst
index b853e48312e2..d082f9a21548 100644
--- a/Documentation/media/uapi/v4l/vidioc-g-fmt.rst
+++ b/Documentation/media/uapi/v4l/vidioc-g-fmt.rst
@@ -147,3 +147,9 @@ appropriately. The generic error codes are described at the
EINVAL
The struct :c:type:`v4l2_format` ``type`` field is
invalid or the requested buffer type not supported.
+
+EBUSY
+ The device is busy and cannot change the format. This could be
+ because or the device is streaming or buffers are allocated or
+ queued to the driver. Relevant for :ref:`VIDIOC_S_FMT
+ <VIDIOC_G_FMT>` only.