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

Commit 27c6a6e7 authored by Archana Sathyakumar's avatar Archana Sathyakumar
Browse files

soc: qcom: spm: Read the voltage value from PMIC_STS register



Currently msm_spm_get_vdd returns the value recently written to the PMIC
from SPM, but it does not reflect the current voltage at PMIC in case
AVS/CPR is enabled. Change this API to read the current voltage in the
PMIC_STS register and return this value.

Change-Id: Ie3c0ad395d2023555d360dc34efa140602cd4d24
Signed-off-by: default avatarArchana Sathyakumar <asathyak@codeaurora.org>
parent a5f9d251
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