diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2016-12-14 19:38:52 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 23:59:17 +0300 |
| commit | 248efcf00602f0282587999bcc221a872bd72530 (patch) | |
| tree | 8c38b0b13a6bd5c99d5e0fe79c622d0f394fa1ad /tools/perf/scripts/python/stackcollapse.py | |
| parent | 4949fc5e071f8e8d8122e0b16cf6a2ec1ca36258 (diff) | |
| download | linux-248efcf00602f0282587999bcc221a872bd72530.tar.xz | |
power: supply: axp288_fuel_gauge: Read 12 bit values 2 registers at a time
In order for the MSB -> LSB latching to work correctly we must read the
2 8 bit registers of a 12 bit value in one consecutive read.
This fixes voltage_ocv reporting inconsistent values on my tablet.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
