diff options
author | Javier Martinez Canillas <javier@osg.samsung.com> | 2015-09-02 17:28:08 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-01-11 17:18:45 +0300 |
commit | 5837ceea11ca11339e49947aacbccb62f3646993 (patch) | |
tree | c0dbe7166995c5a33fcb609c2ac01e4160fdac06 /drivers/staging/media/omap4iss/iss_ipipeif.h | |
parent | 68a57fa93a9f7776ab502db389469dd1ac6a1c66 (diff) | |
download | linux-5837ceea11ca11339e49947aacbccb62f3646993.tar.xz |
[media] staging: omap4iss: separate links creation from entities init
The omap4iss driver initializes the entities and creates the pads links
before the entities are registered with the media device. This does not
work now that object IDs are used to create links so the media_device
has to be set.
Split out the pads links creation from the entity initialization so are
made after the entities registration.
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/staging/media/omap4iss/iss_ipipeif.h')
-rw-r--r-- | drivers/staging/media/omap4iss/iss_ipipeif.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/staging/media/omap4iss/iss_ipipeif.h b/drivers/staging/media/omap4iss/iss_ipipeif.h index c6bd96d9656c..dd906b41cf9b 100644 --- a/drivers/staging/media/omap4iss/iss_ipipeif.h +++ b/drivers/staging/media/omap4iss/iss_ipipeif.h @@ -78,6 +78,7 @@ struct iss_ipipeif_device { struct iss_device; int omap4iss_ipipeif_init(struct iss_device *iss); +int omap4iss_ipipeif_create_pads_links(struct iss_device *iss); void omap4iss_ipipeif_cleanup(struct iss_device *iss); int omap4iss_ipipeif_register_entities(struct iss_ipipeif_device *ipipeif, struct v4l2_device *vdev); |