aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/v4l2-core/v4l2-subdev.c
diff options
context:
space:
mode:
authorTomi Valkeinen <[email protected]>2024-03-18 09:50:59 +0000
committerHans Verkuil <[email protected]>2024-04-10 13:15:31 +0000
commit8a9d420149c477e7c97fbd6453704e4612bdd3fa (patch)
treecaeacf1212ea647eefa977209b356275e743ac6b /drivers/media/v4l2-core/v4l2-subdev.c
parentstaging: media: ipu3-imgu: Update e-mail addresses (diff)
downloadkernel-8a9d420149c477e7c97fbd6453704e4612bdd3fa.tar.gz
kernel-8a9d420149c477e7c97fbd6453704e4612bdd3fa.zip
media: mc: Fix graph walk in media_pipeline_start
The graph walk tries to follow all links, even if they are not between pads. This causes a crash with, e.g. a MEDIA_LNK_FL_ANCILLARY_LINK link. Fix this by allowing the walk to proceed only for MEDIA_LNK_FL_DATA_LINK links. Signed-off-by: Tomi Valkeinen <[email protected]> Cc: [email protected] # for 6.1 and later Fixes: ae219872834a ("media: mc: entity: Rewrite media_pipeline_start()") Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions