aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorEvgeny Boger <[email protected]>2022-01-12 11:47:27 +0300
committerSebastian Reichel <[email protected]>2022-02-01 11:18:47 +0100
commitd4f408cdcd26921c1268cb8dcbe8ffb6faf837f3 (patch)
tree48fe5ff3769e1ff50f44d6e08b56241902bb2952 /tools/perf/scripts/python/syscall-counts-by-pid.py
parentba18dad0fb880cd29aa97b6b75560ef14d1061ba (diff)
power: supply: axp20x_battery: properly report current when discharging
As stated in [1], negative current values are used for discharging batteries. AXP PMICs internally have two different ADC channels for shunt current measurement: one used during charging and one during discharging. The values reported by these ADCs are unsigned. While the driver properly selects ADC channel to get the data from, it doesn't apply negative sign when reporting discharging current. [1] Documentation/ABI/testing/sysfs-class-power Signed-off-by: Evgeny Boger <[email protected]> Acked-by: Chen-Yu Tsai <[email protected]> Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions