input: sensors: recovery MPU6050 bad power state
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>
Loading
Please register or sign in to comment