commit | d4f38da0c4ac59b55cfa89655d05b2cae177f26c | [log] [tgz] |
---|---|---|
author | Abhijeet Dharmapurikar <adharmap@codeaurora.org> | Wed Aug 08 21:42:06 2012 -0700 |
committer | Michael Bohan <mbohan@codeaurora.org> | Mon Aug 13 17:16:08 2012 -0700 |
tree | 512e443c3e424ed33ae0ca90ad4e04f2a447427b | |
parent | cd73883b11609aea16ba54babef8a849e446e165 [diff] |
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: Abhijeet Dharmapurikar <adharmap@codeaurora.org>