aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorYuanjiang Yu <yuanjiang.yu@unisoc.com>2019-01-15 18:32:37 +0800
committerSebastian Reichel <sre@kernel.org>2019-01-23 21:26:56 +0100
commitd3e67c94e8f607ee90097d296deecf030af9b8ab (patch)
treee6ce8f1f35f0c948f9c8cd0d4683a4b47a86a8fe /tools/perf/scripts/python
parent3a28f203c57944ac98a3adcbfacdbfa385966972 (diff)
power: supply: sc27xx: Fix capacity saving function
We found sometimes we can not get the saving capacity to initialize the battery capacity, the reason is the user area registers are put on power always-on region, so we need delay some time to wait until values are updated successfully. Moreover we also should clear the USER_AREA_CLEAR register after setting the USER_AREA_SET register, otherwise we can not save the values in the USER_AREA_SET register. Signed-off-by: Yuanjiang Yu <yuanjiang.yu@unisoc.com> Signed-off-by: Baolin Wang <baolin.wang@linaro.org> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions