summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp/ispstat.c
diff options
context:
space:
mode:
authorSakari Ailus2013-10-03 01:17:52 +0200
committerMauro Carvalho Chehab2013-12-04 18:04:48 +0100
commit8dad936ab3e28b1fd396972c70f523d4b50dfcf4 (patch)
tree46ee51d75cc26ba0464d518e2ed690a408d1b29b /drivers/media/platform/omap3isp/ispstat.c
parent[media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT ... (diff)
downloadkernel-qcow2-linux-8dad936ab3e28b1fd396972c70f523d4b50dfcf4.tar.gz
kernel-qcow2-linux-8dad936ab3e28b1fd396972c70f523d4b50dfcf4.tar.xz
kernel-qcow2-linux-8dad936ab3e28b1fd396972c70f523d4b50dfcf4.zip
[media] omap3isp: Mark which pads must connect
Mark pads that must be connected. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/ispstat.c')
-rw-r--r--drivers/media/platform/omap3isp/ispstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/ispstat.c b/drivers/media/platform/omap3isp/ispstat.c
index 61e17f9bd8b9..a75407c3a726 100644
--- a/drivers/media/platform/omap3isp/ispstat.c
+++ b/drivers/media/platform/omap3isp/ispstat.c
@@ -1067,7 +1067,7 @@ static int isp_stat_init_entities(struct ispstat *stat, const char *name,
subdev->flags |= V4L2_SUBDEV_FL_HAS_EVENTS | V4L2_SUBDEV_FL_HAS_DEVNODE;
v4l2_set_subdevdata(subdev, stat);
- stat->pad.flags = MEDIA_PAD_FL_SINK;
+ stat->pad.flags = MEDIA_PAD_FL_SINK | MEDIA_PAD_FL_MUST_CONNECT;
me->ops = NULL;
return media_entity_init(me, 1, &stat->pad, 0);