[media] adv7842: Make output format configurable through pad format operations
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 1 May 2015 14:31:30 +0000 (11:31 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 20 May 2015 16:37:36 +0000 (13:37 -0300)
commitf888ae7e6a9e7c0ddc2aa78adc1299747f202516
treed22c2c574787a95332fcab69dd584f5ace47aff8
parent71df673132cd5eef9ae2d9c79e3a446249de4961
[media] adv7842: Make output format configurable through pad format operations

Replace the dummy video format operations by pad format operations that
configure the output format.

Copied from the adv7604 driver.

Note: while arch/blackfin/mach-bf609/boards/ezkit.c uses adv7842_platform_data
this source has not been updated because it is broken since the very
beginning. It depends on a struct adv7842_output_format that does not
exist.

And besides that gcc has no support for bf609 so nobody can compile it
except by installing a toolchain from ADI.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: Scott Jiang <scott.jiang.linux@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/i2c/adv7842.c
include/media/adv7842.h