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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 31 Dec 2022 12:32:05 +0000 (13:32 +0100)
commitf87cd02c3b653bfd508999d506d4d652e74dc9e3
tree330702cf9e3d959cfe1661cd6c5b995a6b2a7069
parent64f61e18286ba363fc9ab9130718411d8f1cf87c
dw9768: Enable low-power probe on ACPI

[ Upstream commit 5f9a089b6de34655318afe8e544d9a9cc0fc1d29 ]

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")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/dw9768.c