V4L/DVB (12244): em28xx: adjust vinmode/vinctl based on the stream input format
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 14 Jul 2009 15:33:25 +0000 (12:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 24 Jul 2009 17:03:26 +0000 (14:03 -0300)
commit579d315218e8a3f696e375c5f6917da6488bec8a
treec72d128308c801311cdf79638cbfbe453824411a
parentd36bb4e77257ed0df86deca3f69794f037f68c7d
V4L/DVB (12244): em28xx: adjust vinmode/vinctl based on the stream input format

Depending on the video input format, vinmode/vinctl needs adjustments.
For TV, this is not relevant, since the supported decoders output data
at the same format. However, webcam sensors may have different formats,
so, this needs to be adjusted based on the device.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/em28xx/em28xx-cards.c
drivers/media/video/em28xx/em28xx-core.c
drivers/media/video/em28xx/em28xx.h