Laurent Pinchart e9847bb250 media: mc: Add num_links flag to media_pad
[ Upstream commit baeddf94aa61879b118f2faa37ed126d772670cc ]

Maintain a counter of the links connected to a pad in the media_pad
structure. This helps checking if a pad is connected to anything, which
will be used in the pipeline building code.

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:32:03 +02:00
..
2023-04-15 08:53:31 +01:00
2023-07-14 13:18:56 +02:00
2021-10-04 07:52:13 +02:00
2023-06-09 16:13:01 +01:00
2021-11-22 07:47:13 +00:00