media: atomisp: ov2680: Use v4l2_get_acpi_sensor_info() for the GPIO lookups
authorHans de Goede <hdegoede@redhat.com>
Sat, 1 Apr 2023 13:25:20 +0000 (14:25 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:30:19 +0000 (10:30 +0100)
commit920cf0ba6350c3898ec9e0ac7c341b192d652633
tree8fa4a343ef157de341c33b34ec0adcbac69d496f
parentd1229eb04e454a625d99e0b557804215454b997a
media: atomisp: ov2680: Use v4l2_get_acpi_sensor_info() for the GPIO lookups

Use the new v4l2_get_acpi_sensor_info() for the GPIO lookups,
this uses the special Intel _DSM method to get more info about
the GPIOs like their function and their polarity.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-ov2680.c
drivers/staging/media/atomisp/i2c/ov2680.h