diff options
author | Sakari Ailus <sakari.ailus@iki.fi> | 2013-10-03 01:17:52 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-12-04 18:04:48 +0100 |
commit | 8dad936ab3e28b1fd396972c70f523d4b50dfcf4 (patch) | |
tree | 46ee51d75cc26ba0464d518e2ed690a408d1b29b /drivers/media/platform/omap3isp/isppreview.c | |
parent | [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT ... (diff) | |
download | linux-8dad936ab3e28b1fd396972c70f523d4b50dfcf4.tar.xz 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/isppreview.c')
-rw-r--r-- | drivers/media/platform/omap3isp/isppreview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/isppreview.c b/drivers/media/platform/omap3isp/isppreview.c index cd8831aebdeb..1c776c1186f1 100644 --- a/drivers/media/platform/omap3isp/isppreview.c +++ b/drivers/media/platform/omap3isp/isppreview.c @@ -2283,7 +2283,8 @@ static int preview_init_entities(struct isp_prev_device *prev) v4l2_ctrl_handler_setup(&prev->ctrls); sd->ctrl_handler = &prev->ctrls; - pads[PREV_PAD_SINK].flags = MEDIA_PAD_FL_SINK; + pads[PREV_PAD_SINK].flags = MEDIA_PAD_FL_SINK + | MEDIA_PAD_FL_MUST_CONNECT; pads[PREV_PAD_SOURCE].flags = MEDIA_PAD_FL_SOURCE; me->ops = &preview_media_ops; |