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

Skip to content
Commit a977a3dd authored by Guru Das Srinagesh's avatar Guru Das Srinagesh
Browse files

power: smb5: Simplify voltage estimation in the case of HVDCP2



The MID_CHG channel returns unreliable values above 10.5V, which can
only be 12V for HVDCP2, therefore simply return 12V instead of reading
status bits from a register.

Also correct the debug logging level of the information in the Source
Change interrupt handler to the right level.

Change-Id: I32ab068edbc6fcddd9f4acc8562596cb895388fa
Signed-off-by: default avatarGuru Das Srinagesh <gurus@codeaurora.org>
parent d4fde779
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