diff options
author | Tony Lindgren <[email protected]> | 2019-04-07 11:12:50 -0700 |
---|---|---|
committer | Sebastian Reichel <[email protected]> | 2019-04-15 22:52:14 +0200 |
commit | c68b901ac4fa969db8917b6a9f9b40524a690d20 (patch) | |
tree | 329f0151fee4ae8334ee3a02fd1029ccb8e0fc40 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 1a9aadc86ad45f5281ea633c244b6b770dc85b5b (diff) |
power: supply: cpcap-battery: Fix signed counter sample register
The accumulator sample register is signed 32-bits wide register on
droid 4. And only the earlier version of cpcap has a signed 24-bits
wide register. We're currently passing it around as unsigned, so
let's fix that and use sign_extend32() for the earlier revision.
Signed-off-by: Tony Lindgren <[email protected]>
Acked-by: Pavel Machek <[email protected]>
Signed-off-by: Sebastian Reichel <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions