]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: separate links creation from entities init
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 3 Sep 2015 15:19:25 +0000 (12:19 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 11 Jan 2016 14:18:45 +0000 (12:18 -0200)
commitd2458ac23cfc0499725cba7a428ec8aa8ebd75be
tree4c30193295c7339748c6a9ef816a9ee85d5d7d87
parent5dfd71cdc3c2bfb4a3a7583cabd8e311b816129f
[media] v4l: vsp1: separate links creation from entities init

The vsp1 driver initializes the entities and creates the pads links
before the entities are registered with the media device. This doesn't
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/media/platform/vsp1/vsp1_drv.c
drivers/media/platform/vsp1/vsp1_rpf.c
drivers/media/platform/vsp1/vsp1_rwpf.h
drivers/media/platform/vsp1/vsp1_wpf.c