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

Commit f90ab0eb authored by Anirudh Ghayal's avatar Anirudh Ghayal
Browse files

power: smb358-charger: Query VADC only if the channel is supported



On different SMB358 + PMIC designs the VBAT/BATT_THERM may/may-not
be routed to the PMIC. Enable access to these ADC channels only if
they are enabled.

Change-Id: I4c21ed0f760cc9e8f685b8e5695c3ba354a00209
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 9c186765
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