]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l: vsp1: Fix wrong entities links creation
authorJavier Martinez Canillas <javier@osg.samsung.com>
Tue, 19 Jan 2016 13:45:12 +0000 (11:45 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 09:28:30 +0000 (07:28 -0200)
commit1811eab1cd6f0c0207c6d885eaba52eec219e5b3
tree44410de846e711bf35398789b485c8faf55bdb28
parentd7e15052ecc9ac4f938d1d7432c1d120a2711a7e
[media] v4l: vsp1: Fix wrong entities links creation

The Media Control framework now requires entities to be registered with
the media device before creating links so commit d2458ac23cfc ("[media]
v4l: vsp1: separate links creation from entities init") separated link
creation from entities init.

But unfortunately that patch introduced a regression since wrong links
were created causing a boot failure on Renesas boards.

This patch fixes the boot issue and also the media graph was compared
by Geert Uytterhoeven to make sure that the driver changes required by
the Media Control framework next generation did not affect the graph.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/vsp1/vsp1_drv.c