diff options
author | Hans de Goede <hdegoede@redhat.com> | 2016-12-14 17:38:51 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2017-01-04 21:59:13 +0100 |
commit | 4949fc5e071f8e8d8122e0b16cf6a2ec1ca36258 (patch) | |
tree | 6e9e22bef8c264c5d75ac571864de756b1e4367a /Documentation/ia64/mca.txt | |
parent | 6f074bc878dc9b00c0df0bf3a8cb1d9e294cd881 (diff) | |
download | blackbird-op-linux-4949fc5e071f8e8d8122e0b16cf6a2ec1ca36258.tar.gz blackbird-op-linux-4949fc5e071f8e8d8122e0b16cf6a2ec1ca36258.zip |
power: supply: axp288_fuel_gauge: Read 15 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 15 bit value in one consecutive read.
This fixes charge_full reporting 3498768 on some reads and 3354624 one
other reads on my tablet (for the 3354624 value the raw LSB is 0x00).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'Documentation/ia64/mca.txt')
0 files changed, 0 insertions, 0 deletions