input: sensors: avoid i2c bus access while the device is power off
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>
Loading
Please register or sign in to comment