linux-sg2042/drivers/media/i2c/adv748x
Niklas Söderlund 5e67276638 media: adv748x: Configure device when resuming from sleep
If the device is powered off (for example during system suspend to ram)
the devices loses its configuration, especially the slave i2c mappings
and other configuration set at probe time. This renders the device
unusable and the only way to recover is to unbind and rebind the device
to the driver to run the probe setup again.

Add an early resume callback that reinitializes the device and setup the
slave i2c address mappings and other probe time configuration.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-12-03 07:48:14 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
adv748x-afe.c media: adv748x: afe: Select input port when device is reset 2020-12-03 07:47:23 +01:00
adv748x-core.c media: adv748x: Configure device when resuming from sleep 2020-12-03 07:48:14 +01:00
adv748x-csi2.c media: adv748x: csi2: Set virtual channel when device is reset 2020-12-03 07:47:50 +01:00
adv748x-hdmi.c media: adv748x: Store the TX sink in HDMI/AFE 2019-02-18 11:03:52 -05:00
adv748x.h media: adv748x: csi2: Set virtual channel when device is reset 2020-12-03 07:47:50 +01:00