dw9768: Enable low-power probe on ACPI
authorSakari Ailus <sakari.ailus@linux.intel.com>
Mon, 17 Oct 2022 07:23:28 +0000 (10:23 +0300)
committerSakari Ailus <sakari.ailus@linux.intel.com>
Thu, 27 Oct 2022 11:38:03 +0000 (14:38 +0300)
commit5f9a089b6de34655318afe8e544d9a9cc0fc1d29
treea3948daf941c16d417b5bda099dd99d3f4250e70
parent3dd10515a1d9de734e2ec57f837b9f1e510c5363
dw9768: Enable low-power probe on ACPI

Add support for low-power probe to the driver. Also fix runtime PM API
usage in the driver.

Much of the hassle comes from different factors affecting device power
states during probe for ACPI and DT.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Fixes: 859891228e56 ("media: i2c: dw9768: Add DW9768 VCM driver")
drivers/media/i2c/dw9768.c