提交 823ea2a6 编写于 作者: S Sakari Ailus 提交者: Mauro Carvalho Chehab

[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: NSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: NMauro Carvalho Chehab <mchehab@osg.samsung.com>
上级 78c66fbc
...@@ -282,9 +282,9 @@ __must_check int media_entity_pipeline_start(struct media_entity *entity, ...@@ -282,9 +282,9 @@ __must_check int media_entity_pipeline_start(struct media_entity *entity,
if (ret < 0 && ret != -ENOIOCTLCMD) { if (ret < 0 && ret != -ENOIOCTLCMD) {
dev_dbg(entity->parent->dev, dev_dbg(entity->parent->dev,
"link validation failed for \"%s\":%u -> \"%s\":%u, error %d\n", "link validation failed for \"%s\":%u -> \"%s\":%u, error %d\n",
entity->name, link->source->index, link->source->entity->name,
link->sink->entity->name, link->source->index,
link->sink->index, ret); entity->name, link->sink->index, ret);
goto error; goto error;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册