ARM: davinci: board-da850-evm: add I2C ID for VPIF

VPIF capture driver now has a way to specific I2C adapter ID (was
previously hard-coded.)  Use the new interface.

Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
This commit is contained in:
Kevin Hilman 2017-02-28 17:01:56 +01:00 committed by Sekhar Nori
parent d2e04b1f90
commit ce932a0bee
1 changed files with 1 additions and 0 deletions

View File

@ -1213,6 +1213,7 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = {
static struct vpif_capture_config da850_vpif_capture_config = { static struct vpif_capture_config da850_vpif_capture_config = {
.subdev_info = da850_vpif_capture_sdev_info, .subdev_info = da850_vpif_capture_sdev_info,
.subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info), .subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info),
.i2c_adapter_id = 1,
.chan_config[0] = { .chan_config[0] = {
.inputs = da850_ch0_inputs, .inputs = da850_ch0_inputs,
.input_count = ARRAY_SIZE(da850_ch0_inputs), .input_count = ARRAY_SIZE(da850_ch0_inputs),