]> 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)
commit76ed37e510102fece2b2e7709255aa8afe47d8b4
tree44410de846e711bf35398789b485c8faf55bdb28
parent5367e65a538f2d59834d845f582bc1f1ae9599b8
[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 d9fa57fd0a40 ("[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