Commit 4ed030af authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] doc-rst: fix some lirc cross-references



Some references were broken. It was also mentioning LIRC_MODE_RAW,
with it is not implemented on current LIRC drivers.

So, fix the references.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 3f3427c4
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -44,8 +44,7 @@ LIRC features

``LIRC_CAN_REC_RAW``

    The driver is capable of receiving using
    :ref:`LIRC_MODE_RAW <lirc-mode-raw>`.
    Unused. Kept just to avoid breaking uAPI.

.. _LIRC-CAN-REC-PULSE:

@@ -153,7 +152,7 @@ LIRC features

``LIRC_CAN_SEND_RAW``

    The driver supports sending using :ref:`LIRC_MODE_RAW <lirc-mode-raw>`.
    Unused. Kept just to avoid breaking uAPI.

.. _LIRC-CAN-SEND-PULSE:

+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ Get supported transmit mode.

Currently, only ``LIRC_MODE_PULSE`` is supported by lircd on TX. On
puse mode, a sequence of pulse/space integer values are written to the
lirc device using ``write()``.
lirc device using :Ref:`lirc-write`.

Return Value
============
+1 −1
Original line number Diff line number Diff line
.. -*- coding: utf-8; mode: rst -*-

.. _lirc_read:
.. _lirc-read:

***********
LIRC read()
+2 −2
Original line number Diff line number Diff line
.. -*- coding: utf-8; mode: rst -*-

.. _lirc_write:
.. _lirc-write:

************
LIRC write()
@@ -36,7 +36,7 @@ Arguments
Description
===========

:ref:`write() <func-write>` writes up to ``count`` bytes to the device
:ref:`write() <lirc-write>` writes up to ``count`` bytes to the device
referenced by the file descriptor ``fd`` from the buffer starting at
``buf``.