diff options
| author | Tomi Valkeinen <[email protected]> | 2024-03-18 09:50:59 +0000 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-04-10 13:15:31 +0000 |
| commit | 8a9d420149c477e7c97fbd6453704e4612bdd3fa (patch) | |
| tree | caeacf1212ea647eefa977209b356275e743ac6b /drivers/media/v4l2-core/v4l2-subdev.c | |
| parent | staging: media: ipu3-imgu: Update e-mail addresses (diff) | |
| download | kernel-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
