[media] media: davinci: vpif: display: separate out subdev from output
authorLad, Prabhakar <prabhakar.lad@ti.com>
Tue, 25 Sep 2012 11:11:49 +0000 (08:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:12:27 +0000 (22:12 -0300)
commit2bd4e58c9d00325b7a850b2ac73fd902e9148b77
treeef3242b551f05c3a54533e4a21ff21acd9a3b137
parentc389648a927bada928c854dccccf0301317784eb
[media] media: davinci: vpif: display: separate out subdev from output

vpif_display relied on a 1-1 mapping of output and subdev. This is not
necessarily the case. Separate the two. So there is a list of subdevs
and a list of outputs. Each output refers to a subdev and has routing
information. An output does not have to have a subdev.
The initial output for each channel is set to the fist output.
Currently missing is support for associating multiple subdevs with
an output.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Manjunath Hadli <manjunath.hadli@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
arch/arm/mach-davinci/board-da850-evm.c
arch/arm/mach-davinci/board-dm646x-evm.c
drivers/media/platform/davinci/vpif_display.c
include/media/davinci/vpif_types.h