]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
media: staging: imx-csi: explicitly start media pipeline on pad 0
authorMichael Tretter <m.tretter@pengutronix.de>
Thu, 18 Dec 2025 09:23:50 +0000 (10:23 +0100)
committerHans Verkuil <hverkuil+cisco@kernel.org>
Wed, 27 May 2026 08:58:27 +0000 (10:58 +0200)
commit262d2e7cfc2805464248a4fa1635636a834f09a9
treebf1ca2d1b50f08ebc48dd44dfcf0e6bc0f7da734
parente52b90b8277a433a680a03680f1e344d4a8894e6
media: staging: imx-csi: explicitly start media pipeline on pad 0

entity->pads is an array that contains all the pads of an entity.

Calling __media_pipeline_start() or __media_pipeline_stop() on the pads,
implicitly starts the pipeline with the first pad in this array as origin.

Explicitly use the first pad to start the pipeline to make this more
obvious to the reader.

Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Frank Li <Frank.Li@nxp.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
drivers/staging/media/imx/imx-media-utils.c