diff options
author | Tomi Valkeinen <tomi.valkeinen@ideasonboard.com> | 2024-03-18 11:50:59 +0200 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-04-10 15:15:31 +0200 |
commit | 8a9d420149c477e7c97fbd6453704e4612bdd3fa (patch) | |
tree | caeacf1212ea647eefa977209b356275e743ac6b /drivers/media/v4l2-core/v4l2-subdev.c | |
parent | 34793224b6dfd59cb17e8f77b81711f437c32f48 (diff) |
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 <tomi.valkeinen@ideasonboard.com>
Cc: stable@vger.kernel.org # for 6.1 and later
Fixes: ae219872834a ("media: mc: entity: Rewrite media_pipeline_start()")
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/media/v4l2-core/v4l2-subdev.c')
0 files changed, 0 insertions, 0 deletions