mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-04 08:08:54 +00:00
[media] media: Correctly notify about the failed pipeline validation
On the place of the source entity name, the sink entity name was printed. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
parent
78c66fbcec
commit
823ea2a639
1 changed files with 3 additions and 3 deletions
|
@ -282,9 +282,9 @@ __must_check int media_entity_pipeline_start(struct media_entity *entity,
|
|||
if (ret < 0 && ret != -ENOIOCTLCMD) {
|
||||
dev_dbg(entity->parent->dev,
|
||||
"link validation failed for \"%s\":%u -> \"%s\":%u, error %d\n",
|
||||
entity->name, link->source->index,
|
||||
link->sink->entity->name,
|
||||
link->sink->index, ret);
|
||||
link->source->entity->name,
|
||||
link->source->index,
|
||||
entity->name, link->sink->index, ret);
|
||||
goto error;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue