summaryrefslogtreecommitdiffstats
path: root/Documentation/media/uapi/v4l/mmap.rst
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 15:47:00 -0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2016-07-08 15:47:00 -0300
commit071dedfead28ff4cd2d2faf56054ed1c46584ae1 (patch)
tree069b31f4f44a99246643951e4dfa5bf7b59d03e2 /Documentation/media/uapi/v4l/mmap.rst
parent53ce523986cef185865a1c417269fcc5c48a1697 (diff)
downloadop-kernel-dev-071dedfead28ff4cd2d2faf56054ed1c46584ae1.zip
op-kernel-dev-071dedfead28ff4cd2d2faf56054ed1c46584ae1.tar.gz
[media] doc-rst: mention the memory type to be set for all streaming I/O
Changeset 8c9f46095176 ("[media] DocBook: mention the memory type to be set for all streaming I/O") updated the media DocBook to mention the need of filling the memory types. We need to keep the ReST doc updated to such change. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'Documentation/media/uapi/v4l/mmap.rst')
-rw-r--r--Documentation/media/uapi/v4l/mmap.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Documentation/media/uapi/v4l/mmap.rst b/Documentation/media/uapi/v4l/mmap.rst
index 2171b18..f7fe26e 100644
--- a/Documentation/media/uapi/v4l/mmap.rst
+++ b/Documentation/media/uapi/v4l/mmap.rst
@@ -11,8 +11,8 @@ Input and output devices support this I/O method when the
:ref:`v4l2_capability <v4l2-capability>` returned by the
:ref:`VIDIOC_QUERYCAP` ioctl is set. There are two
streaming methods, to determine if the memory mapping flavor is
-supported applications must call the
-:ref:`VIDIOC_REQBUFS` ioctl.
+supported applications must call the :ref:`VIDIOC_REQBUFS` ioctl
+with the memory type set to ``V4L2_MEMORY_MMAP``.
Streaming is an I/O method where only pointers to buffers are exchanged
between application and driver, the data itself is not copied. Memory
OpenPOWER on IntegriCloud