Commit bce9e317 authored by Sakari Ailus's avatar Sakari Ailus Committed by Mauro Carvalho Chehab

media: omap3isp: Print the name of the entity where no source pads could be found

If no source pads are found in an entity, print the name of the entity.
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Acked-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent eae4cf8f
...@@ -1669,8 +1669,8 @@ static int isp_link_entity( ...@@ -1669,8 +1669,8 @@ static int isp_link_entity(
break; break;
} }
if (i == entity->num_pads) { if (i == entity->num_pads) {
dev_err(isp->dev, "%s: no source pad in external entity\n", dev_err(isp->dev, "%s: no source pad in external entity %s\n",
__func__); __func__, entity->name);
return -EINVAL; return -EINVAL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment