media: dw9768: activate runtime PM and turn off device
authorBingbu Cao <bingbu.cao@intel.com>
Fri, 15 Oct 2021 06:08:39 +0000 (07:08 +0100)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Mon, 15 Nov 2021 08:11:34 +0000 (08:11 +0000)
commitc09d776eaa060534a1663e3b89d842db3e1d9076
tree54f91b3fb80954c120ac3ceff05acaa3916b6409
parent2a998392403f746e9320c3b836303f8720651e5c
media: dw9768: activate runtime PM and turn off device

When dw9768 working with ACPI systems, the dw9768 was turned
by i2c-core during probe, driver need activate the PM runtime
and ask runtime PM to turn off the device.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/dw9768.c