[media] media: adv7343: accept configuration through platform data
authorLad, Prabhakar <prabhakar.lad@ti.com>
Tue, 22 Jan 2013 04:19:50 +0000 (01:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 20:45:47 +0000 (18:45 -0200)
commit0b302d88534f0811c5f49bfba7aa46c4e1e032b7
tree9a8a527e537d5bc5f60754e5bb4246c2e0990ab9
parented57256f6fe8882cf6dde8d99f5fac5fd84c5a2d
[media] media: adv7343: accept configuration through platform data

The current code was implemented with some default configurations,
this default configuration works on board and doesn't work on other.
This patch accepts the configuration through platform data and configures
the encoder depending on the data passed.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/adv7343.c
include/media/adv7343.h