media: Documentation: Receiver drivers should call v4l2_get_link_freq()
Document that receiver drivers should call v4l2_get_link_freq() to obtain the link frequency. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
This commit is contained in:
committed by
Hans Verkuil
parent
28e6cd53f8
commit
015853f0bd
@@ -53,6 +53,9 @@ Drivers that do not have user-configurable link frequency should report it
|
||||
through the ``.get_mbus_config()`` subdev pad operation, in the ``link_freq``
|
||||
field of struct v4l2_mbus_config, instead of through controls.
|
||||
|
||||
Receiver drivers should use :c:func:`v4l2_get_link_freq` helper to obtain the
|
||||
link frequency from the transmitter sub-device.
|
||||
|
||||
``.enable_streams()`` and ``.disable_streams()`` callbacks
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user