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

Skip to content
Commit 51c9b5d0 authored by Abhijeet Dharmapurikar's avatar Abhijeet Dharmapurikar Committed by Stephen Boyd
Browse files

msm: krait-regulator: fix PMIC voltage set point calculation



The current code assumes that there is a 80mV offset in the voltage
control definitions - before setting the pmic voltage it subtracts
80mV and then divides the result by 5mV step to get the voltage.

There is no offset in the register definition. Simply divide the
requested voltage by 5mV step.

Change-Id: I18b782338d05ef6ac8f28cc80a8c561b200aab14
Signed-off-by: default avatarAbhijeet Dharmapurikar <adharmap@codeaurora.org>
parent 59db690d
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