]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit413ea50c676e45db2e130c45be1bb3bdcc3b4ec2
tree9a8a527e537d5bc5f60754e5bb4246c2e0990ab9
parentd64b182cb8d8dc3f4c2d9b41a912c3e0a9a7ba25
[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