OpenCloudOS-Kernel/Documentation/userspace-api/media
Laurent Pinchart d0e3440dab media: mc: Expand MUST_CONNECT flag to always require an enabled link
[ Upstream commit b3decc5ce7d778224d266423b542326ad469cb5f ]

The MEDIA_PAD_FL_MUST_CONNECT flag indicates that the pad requires an
enabled link to stream, but only if it has any link at all. This makes
little sense, as if a pad is part of a pipeline, there are very few use
cases for an active link to be mandatory only if links exist at all. A
review of in-tree drivers confirms they all need an enabled link for
pads marked with the MEDIA_PAD_FL_MUST_CONNECT flag.

Expand the scope of the flag by rejecting pads that have no links at
all. This requires modifying the pipeline build code to add those pads
to the pipeline.

Cc: stable@vger.kernel.org # 6.1
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-04-03 15:28:17 +02:00
..
cec media: admin-guide: cec.rst 2022-11-25 07:39:21 +00:00
drivers media updates for v6.3-rc1 2023-02-26 11:47:26 -08:00
dvb media: dvb: add DVB-C2 and DVB-S2X parameter values 2022-11-25 09:57:14 +00:00
mediactl media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-04-03 15:28:17 +02:00
rc Documentation: userspace-api: correct spelling 2023-02-02 11:07:18 -07:00
v4l media updates for v6.6-rc1 2023-09-01 12:21:32 -07:00
Makefile doc: add texinfodocs and infodocs targets 2022-11-21 14:13:57 -07:00
ca.h.rst.exceptions
cec.h.rst.exceptions media: cec: add support for Absolute Volume Control 2022-09-24 08:50:04 +02:00
conf_nitpick.py Documentation: media: convert to use i2c_new_client_device() 2020-06-19 09:20:25 +02:00
dmx.h.rst.exceptions
fdl-appendix.rst docs: userspace-api: media: fdl-appendix.rst: replace some characters 2021-06-02 15:12:17 +02:00
frontend.h.rst.exceptions docs: uapi: media: ignore new DVB-S2X FEC values 2023-05-15 06:46:17 +01:00
gen-errors.rst media: docs: use the new SPDX header for GFDL-1.1 on *.rst files 2020-09-01 14:13:30 +02:00
glossary.rst media: userspace-api: avoid using ReST :doc:`foo` markup 2021-06-16 07:26:46 +02:00
index.rst media: docs: */media/index.rst: don't use ReST doc:`foo` 2021-06-16 07:26:46 +02:00
intro.rst
lirc.h.rst.exceptions media: lirc: add missing exceptions for lirc uapi header file 2022-05-26 14:30:17 -07:00
media.h.rst.exceptions
net.h.rst.exceptions
typical_media_device.svg media: docs: use the new SPDX header for GFDL-1.1 on *.svg files 2020-09-01 14:13:30 +02:00
videodev2.h.rst.exceptions media: Add AV1 uAPI 2023-06-09 16:13:01 +01:00