media: media-ioc-g-topology.rst: document new 'flags' field

Document the new struct media_v2_entity 'flags' field.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
This commit is contained in:
Hans Verkuil 2018-03-19 11:17:17 -04:00 committed by Mauro Carvalho Chehab
parent 588f4ee7e6
commit d2dc644adf
1 changed files with 9 additions and 1 deletions

View File

@ -142,7 +142,15 @@ desired arrays with the media graph elements.
- Entity main function, see :ref:`media-entity-functions` for details. - Entity main function, see :ref:`media-entity-functions` for details.
* - __u32 * - __u32
- ``reserved``\ [6] - ``flags``
- Entity flags, see :ref:`media-entity-flag` for details.
Only valid if ``MEDIA_V2_ENTITY_HAS_FLAGS(media_version)``
returns true. The ``media_version`` is defined in struct
:c:type:`media_device_info` and can be retrieved using
:ref:`MEDIA_IOC_DEVICE_INFO`.
* - __u32
- ``reserved``\ [5]
- Reserved for future extensions. Drivers and applications must set - Reserved for future extensions. Drivers and applications must set
this array to zero. this array to zero.