summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci
diff options
context:
space:
mode:
authorKevin Hilman <khilman@baylibre.com>2017-02-28 17:01:56 +0100
committerSekhar Nori <nsekhar@ti.com>2017-03-07 12:13:15 +0100
commitce932a0bee9712c1817c6b8efbaf1d17adc350d9 (patch)
tree067788b09f064bd9de614e20dd18c6ce13ac66ef /arch/arm/mach-davinci
parentARM: davinci: allow having multiple pdata-quirks (diff)
downloadlinux-ce932a0bee9712c1817c6b8efbaf1d17adc350d9.tar.xz
linux-ce932a0bee9712c1817c6b8efbaf1d17adc350d9.zip
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>
Diffstat (limited to 'arch/arm/mach-davinci')
-rw-r--r--arch/arm/mach-davinci/board-da850-evm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c
index df3ca38778af..c50632a41b9d 100644
--- a/arch/arm/mach-davinci/board-da850-evm.c
+++ b/arch/arm/mach-davinci/board-da850-evm.c
@@ -1213,6 +1213,7 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = {
static struct vpif_capture_config da850_vpif_capture_config = {
.subdev_info = da850_vpif_capture_sdev_info,
.subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info),
+ .i2c_adapter_id = 1,
.chan_config[0] = {
.inputs = da850_ch0_inputs,
.input_count = ARRAY_SIZE(da850_ch0_inputs),