Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 823ea2a6 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@osg.samsung.com>
parent 78c66fbc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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;
			}
		}