]> git.baikalelectronics.ru Git - kernel.git/commit
[media] staging: omap4iss: separate links creation from entities init
authorJavier Martinez Canillas <javier@osg.samsung.com>
Wed, 2 Sep 2015 14:28:08 +0000 (11:28 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:45 +0000 (12:18 -0200)
commitb7e7832f9d5b3c9282e1d115e6bc93a13eafe52e
treec0dbe7166995c5a33fcb609c2ac01e4160fdac06
parent2d27cfecf779c54a5f8e3b3f37a1468cefb2c3f7
[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>
drivers/staging/media/omap4iss/iss.c
drivers/staging/media/omap4iss/iss_csi2.c
drivers/staging/media/omap4iss/iss_csi2.h
drivers/staging/media/omap4iss/iss_ipipeif.c
drivers/staging/media/omap4iss/iss_ipipeif.h
drivers/staging/media/omap4iss/iss_resizer.c
drivers/staging/media/omap4iss/iss_resizer.h