[media] media: i2c: adv7343: make the platform data members as array
This patch makes the platform data members as array wherever possible, so as this makes easier while collecting the data in DT case and read the entire array at once. This patch also makes appropriate changes to board-da850-evm.c Signed-off-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
6ef8335928
commit
5e95814ff3
@@ -1249,12 +1249,10 @@ static struct vpif_capture_config da850_vpif_capture_config = {
|
||||
|
||||
static struct adv7343_platform_data adv7343_pdata = {
|
||||
.mode_config = {
|
||||
.dac_3 = 1,
|
||||
.dac_2 = 1,
|
||||
.dac_1 = 1,
|
||||
.dac = { 1, 1, 1 },
|
||||
},
|
||||
.sd_config = {
|
||||
.sd_dac_out1 = 1,
|
||||
.sd_dac_out = { 1 },
|
||||
},
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user