+54
−31
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
MPU6050 sensor requires Vdd power on before Vio, it may enter
bad power state if this power on sequence does not satisfied.
As MPU6050 share power rails with other devices, this power on
sequence is not guaranteed.
Reset the sensor when system back form sleep and retain the sensor
power to recover the sensor from bad power state.
Change-Id: I3e39174cafe31645e92e13cb1647834ee47add3d
Signed-off-by:
Bingzhe Cai <bingzhec@codeaurora.org>