Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 077639f4 authored by Vaibhav Hiremath's avatar Vaibhav Hiremath Committed by Kevin Hilman
Browse files

Davinci VPFE Capture: Take i2c adapter id through platform data



The I2C adapter ID is actually depends on Board and may vary, Davinci
uses id=1, but in case of AM3517 id=3.

So modified respective davinci board files.

Signed-off-by: default avatarVaibhav Hiremath <hvaibhav@ti.com>
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent 74d2e4f8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -236,6 +236,7 @@ static struct vpfe_subdev_info vpfe_sub_devs[] = {

static struct vpfe_config vpfe_cfg = {
	.num_subdevs = ARRAY_SIZE(vpfe_sub_devs),
	.i2c_adapter_id = 1,
	.sub_devs = vpfe_sub_devs,
	.card_name = "DM355 EVM",
	.ccdc = "DM355 CCDC",
+1 −0
Original line number Diff line number Diff line
@@ -247,6 +247,7 @@ static struct vpfe_subdev_info vpfe_sub_devs[] = {

static struct vpfe_config vpfe_cfg = {
	.num_subdevs = ARRAY_SIZE(vpfe_sub_devs),
	.i2c_adapter_id = 1,
	.sub_devs = vpfe_sub_devs,
	.card_name = "DM6446 EVM",
	.ccdc = "DM6446 CCDC",