linux-stable/Documentation/userspace-api/media
Laurent Pinchart e2c545b841 media: mc: Expand MUST_CONNECT flag to always require an enabled link
[ Upstream commit b3decc5ce7 ]

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:19:25 +02:00
..
cec media: cec-ioc-receive.rst: clarify sequence and status fields 2021-11-15 08:12:03 +00:00
drivers media: uapi: Add a control for DW100 driver 2022-08-29 15:32:13 +02:00
dvb media: docs: move DVB audio/video docs to staging 2021-06-04 08:08:17 +02:00
mediactl media: mc: Expand MUST_CONNECT flag to always require an enabled link 2024-04-03 15:19:25 +02:00
rc media: lirc: report ir receiver overflow 2022-01-28 19:32:50 +01:00
v4l media: uapi: HEVC: Add num_delta_pocs_of_ref_rps_idx field 2023-09-13 09:42:20 +02: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
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
Makefile media: docs: move DVB audio/video docs to staging 2021-06-04 08:08:17 +02: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: v4l2-ctrls: add change flag for when dimensions change 2022-08-19 13:48:58 +02:00