mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
doc-rst: querycap: fix troubles on some references
This is not due to the format change, but there are some wrong references on this file. Fix them. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
This commit is contained in:
parent
080df77f00
commit
9e00ffca8c
@ -16,9 +16,9 @@ check if the kernel device is compatible with this specification, and to
|
|||||||
query the :ref:`functions <devices>` and :ref:`I/O methods <io>`
|
query the :ref:`functions <devices>` and :ref:`I/O methods <io>`
|
||||||
supported by the device.
|
supported by the device.
|
||||||
|
|
||||||
Starting with kernel version 3.1, VIDIOC-QUERYCAP will return the V4L2
|
Starting with kernel version 3.1, :ref:`VIDIOC_QUERYCAP <vidioc-querycap>`
|
||||||
API version used by the driver, with generally matches the Kernel
|
will return the V4L2 API version used by the driver, with generally
|
||||||
version. There's no need of using
|
matches the Kernel version. There's no need of using
|
||||||
:ref:`VIDIOC_QUERYCAP <vidioc-querycap>` to check if a specific ioctl
|
:ref:`VIDIOC_QUERYCAP <vidioc-querycap>` to check if a specific ioctl
|
||||||
is supported, the V4L2 core now returns ENOTTY if a driver doesn't
|
is supported, the V4L2 core now returns ENOTTY if a driver doesn't
|
||||||
provide support for an ioctl.
|
provide support for an ioctl.
|
||||||
@ -30,8 +30,8 @@ abstraction is a major objective of this API, the
|
|||||||
:ref:`VIDIOC_QUERYCAP <vidioc-querycap>` ioctl also allows driver
|
:ref:`VIDIOC_QUERYCAP <vidioc-querycap>` ioctl also allows driver
|
||||||
specific applications to reliably identify the driver.
|
specific applications to reliably identify the driver.
|
||||||
|
|
||||||
All V4L2 drivers must support ``VIDIOC_QUERYCAP``. Applications should
|
All V4L2 drivers must support :ref:`VIDIOC_QUERYCAP <vidioc-querycap>`.
|
||||||
always call this ioctl after opening the device.
|
Applications should always call this ioctl after opening the device.
|
||||||
|
|
||||||
|
|
||||||
.. ------------------------------------------------------------------------------
|
.. ------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user