Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c6c835f3 authored by Oliver Wang's avatar Oliver Wang
Browse files

input: sensors: avoid accessing i2c bus when apds9930 is powered off



There's an observed issue that accessing i2c bus can cause kernel
crash when the sensor is powered off. Thus add some logic to avoid
accessing i2c bus before power off the sensor.

Change-Id: I604574ac3f4a9560daaec1b88ef7198d58b6f3db
Signed-off-by: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 480c7178
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment