mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2025-10-23 07:23:12 +02:00
media: Documentation: Fix [GS]_ROUTING documentation
[ Upstream commit997a6b01cd
] Add mention that successful VIDIOC_SUBDEV_G_ROUTING call will update 'num_routes' and remove mention about non-existing streams, which is incorrect. Fixes:ea73eda508
("media: Documentation: Add GS_ROUTING documentation") Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
43126fbe50
commit
d77f484453
|
@ -58,6 +58,9 @@ the subdevice exposes, drivers return the ENOSPC error code and adjust the
|
||||||
value of the ``num_routes`` field. Application should then reserve enough memory
|
value of the ``num_routes`` field. Application should then reserve enough memory
|
||||||
for all the route entries and call ``VIDIOC_SUBDEV_G_ROUTING`` again.
|
for all the route entries and call ``VIDIOC_SUBDEV_G_ROUTING`` again.
|
||||||
|
|
||||||
|
On a successful ``VIDIOC_SUBDEV_G_ROUTING`` call the driver updates the
|
||||||
|
``num_routes`` field to reflect the actual number of routes returned.
|
||||||
|
|
||||||
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
|
.. tabularcolumns:: |p{4.4cm}|p{4.4cm}|p{8.7cm}|
|
||||||
|
|
||||||
.. c:type:: v4l2_subdev_routing
|
.. c:type:: v4l2_subdev_routing
|
||||||
|
@ -138,9 +141,7 @@ ENOSPC
|
||||||
|
|
||||||
EINVAL
|
EINVAL
|
||||||
The sink or source pad identifiers reference a non-existing pad, or reference
|
The sink or source pad identifiers reference a non-existing pad, or reference
|
||||||
pads of different types (ie. the sink_pad identifiers refers to a source pad)
|
pads of different types (ie. the sink_pad identifiers refers to a source pad).
|
||||||
or the sink or source stream identifiers reference a non-existing stream on
|
|
||||||
the sink or source pad.
|
|
||||||
|
|
||||||
E2BIG
|
E2BIG
|
||||||
The application provided ``num_routes`` for ``VIDIOC_SUBDEV_S_ROUTING`` is
|
The application provided ``num_routes`` for ``VIDIOC_SUBDEV_S_ROUTING`` is
|
||||||
|
|
Loading…
Reference in New Issue
Block a user