[media] vpif_display: first init subdevs, then register device nodes
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 20 Sep 2012 12:06:27 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:04:46 +0000 (22:04 -0300)
commite6067f8b1e3edd731cbcffb642d166d81767a30a
tree83da541c79b7c19ce028ceece6cdf13aee4fc412
parentb65814e546b2b6d76a299b0ee605c10d0b84bb96
[media] vpif_display: first init subdevs, then register device nodes

When device nodes are registered they must be ready for use
immediately, so make sure the subdevs are loaded first.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Tested-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/platform/davinci/vpif_display.c