+18
−17
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The apds993x driver handle the power status change while system
suspend/resume happens and device status changes. There's a scenario
that the device is already power off and the driver still request
to transfer data through i2c bus. This may cause some i2c errors
and revoke i2c issues. Change the logic to avoid such scenario to
avoid this issue.
Change-Id: I421a64b705adc867a248bce1506ade923b03358e
Signed-off-by:
Oliver Wang <mengmeng@codeaurora.org>