summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2016-05-10 12:25:16 -0700
committerKyle Yan <kyan@codeaurora.org>2016-05-26 15:25:13 -0700
commitc9e1bc2af467b9dc770c138673d18edff4df8f31 (patch)
tree13e385ea33e74682270ad405a2681be71e486599 /tools/perf/scripts/python/export-to-postgresql.py
parent52d3e4b26669453e947fb6fe9c7f3d6502e60f6c (diff)
regulator: labibb: Fix slew rate calculation in LAB/IBB set_voltage
Currently, while setting the voltage on LAB and IBB regulators, slew rate is always calculated based on the difference between user specified minimum voltage(min_uV) and the minimum voltage (min_volt) that can be supported on the regulator based on the mode it is operating. However, it should be really calculated based upon the difference between current voltage and new voltage which will be set. Fix it. Also, add the missing return -EINVAL to set_voltage of LAB regulator if min_uV is less than min_volt. While at it, remove the redundant function name added to the pr_err() statements in set_voltage callbacks. CRs-Fixed: 1013913 Change-Id: I9a17c83d6613ff37cede4a7bb52612465e4d0101 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions