diff options
author | Eric Bénard <eric@eukrea.com> | 2014-11-12 23:04:08 +0100 |
---|---|---|
committer | Sebastian Reichel <sre@kernel.org> | 2015-01-21 19:46:15 +0100 |
commit | 9dbf5a28642bb2db57fb5150252e133e19acd33a (patch) | |
tree | f962376c33a44c2fdc30d5327b243923e21b132f /drivers/scsi/mpt2sas/mpi/mpi2_sas.h | |
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>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_sas.h')
0 files changed, 0 insertions, 0 deletions