commit | 9dbf5a28642bb2db57fb5150252e133e19acd33a | [log] [tgz] |
---|---|---|
author | Eric Bénard <eric@eukrea.com> | Wed Nov 12 23:04:08 2014 +0100 |
committer | Sebastian Reichel <sre@kernel.org> | Wed Jan 21 19:46:15 2015 +0100 |
tree | f962376c33a44c2fdc30d5327b243923e21b132f | |
parent | 19fb8b2df4fa0cae1656ca75b75f4e142f2a7829 [diff] |
bq27x00_battery: fix register offset for bq27425 - SOC is at 0x1C so we must add 0x4 as stated in the comment to read the right value. - DCAP is at 0x3c so we also must use a value with the right offset to get the correct design capacity. Actually testing on a bq27410 which has the same register map as bq27425 (but adds new registers). Signed-off-by: Eric Bénard <eric@eukrea.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>