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

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

power: smb5: Fix reading of USB VOLTAGE_NOW



Reading USBIN VOLTAGE_NOW when USBIN is not present gives rise to the
following errors:

smblib_get_prop_usb_voltage_now: Failed to read USBIN over vadc, rc=-61
smblib_get_prop_usb_voltage_now: Couldn't write ADC config rc=-61

Fix them.

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