On 22.11.2020 19:36, Niklas Söderlund wrote:
If the device is powered off for example during system suspend to ram the devices loses its configuration, specially the slave i2c mappings
Especially?
and other configuration set at probe time. This renders the device unusable and 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@xxxxxxxxxxxx>
[...] MBR, Sergei