aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPhil Reid <[email protected]>2017-07-11 17:43:43 +0800
committerSebastian Reichel <[email protected]>2017-07-25 11:30:28 +0200
commitadcf04c9f8fce54e65f11bae2fbd37c1282ef128 (patch)
tree0d68411b96dc7e372adffd049eca0321decde2e8 /tools/perf/scripts/python/export-to-postgresql.py
parentb70f0a28966082d5392f90c2d4cb1514a2d65ac6 (diff)
power: supply: sbs-battery: Add delay when changing capacity mode bit
At least with the Inspired Energy compatible batteries a delay is required after setting the capacity mode bit from amp to watts or the reverse. Setting the bit and then immediately pooling the status register results in an unknown error being returned in the register. Add the delay results in and ok status being return. This was also seen when reading the charge and energy registers where the wrong value was returned for the requested mode. Signed-off-by: Phil Reid <[email protected]> Tested-by: Michael Heinemann <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions