]> git.baikalelectronics.ru Git - kernel.git/commit
media: ov8856: Add devicetree support
authorRobert Foss <robert.foss@linaro.org>
Mon, 11 May 2020 11:03:49 +0000 (13:03 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 25 May 2020 13:41:01 +0000 (15:41 +0200)
commit45f6e665b4f059db386704f23beb6886326cfdf8
tree1334c0569d4c124cc0b85984b0698c82ec8b437f
parent87957a7bc1923547218d2c99ae1150ea944714c7
media: ov8856: Add devicetree support

Add match table, enable ov8856_probe() to support
both ACPI and DT modes.

ACPI and DT modes are primarily distinguished from
by checking for ACPI mode and by having resource like
be NULL.

Signed-off-by: Robert Foss <robert.foss@linaro.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov8856.c