summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-09-02 01:43:31 +0200
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2017-10-31 18:50:13 +0100
commitbce9e317cec9c4ffff3dde1170c0ad70f5e690c8 (patch)
treed0756537d899ded20520037b9f197d0602e2be9d /drivers/media/platform
parentmedia: omap3isp: Fix check for our own sub-devices (diff)
downloadlinux-bce9e317cec9c4ffff3dde1170c0ad70f5e690c8.tar.xz
linux-bce9e317cec9c4ffff3dde1170c0ad70f5e690c8.zip
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: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Pavel Machek <pavel@ucw.cz> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/platform')
-rw-r--r--drivers/media/platform/omap3isp/isp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c
index 4afd7ba4fad6..35687c9707e0 100644
--- a/drivers/media/platform/omap3isp/isp.c
+++ b/drivers/media/platform/omap3isp/isp.c
@@ -1669,8 +1669,8 @@ static int isp_link_entity(
break;
}
if (i == entity->num_pads) {
- dev_err(isp->dev, "%s: no source pad in external entity\n",
- __func__);
+ dev_err(isp->dev, "%s: no source pad in external entity %s\n",
+ __func__, entity->name);
return -EINVAL;
}