[media] vpif_capture: first init subdevs, then register device nodes
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 20 Sep 2012 12:06:26 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:03:12 +0000 (22:03 -0300)
commitb65814e546b2b6d76a299b0ee605c10d0b84bb96
treec549a2bdcee8d79fb46388338d1e517e918eec1c
parent7aaad13124598580dbce98d33618e9356412274c
[media] vpif_capture: 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_capture.c