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

Skip to content
Commit edd32d79 authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: qpnp-vm-bms: Fix minor issues in VM BMS



1. SPMI cannot access > 8 bytes of data in a single read.
Fix the FIFO read by reading one-byte at a time.

2. Fix force_fsm_mode by disabling all other modes while forcing
a particular mode.

3. Use proper data type to calculate VBAT from raw ADC values.

4. Fix logging format

Change-Id: I9525da3747ac50908125d035f87dc3eda14029c8
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 08fcd9dd
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