[media] vpif_capture: separate subdev from input
authorHans Verkuil <hans.verkuil@cisco.com>
Thu, 20 Sep 2012 12:06:30 +0000 (09:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 01:08:09 +0000 (22:08 -0300)
commit178cce1262762b636bcde6685a014c70640b15cc
treec4522812c96a0973317199fe139c7c97509feac4
parent5be452c343331dadf237bed0053fdc7d623e8049
[media] vpif_capture: separate subdev from input

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

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
drivers/media/platform/davinci/vpif_capture.h
This page took 0.026744 seconds and 5 git commands to generate.