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 /net/unix/sysctl_net_unix.c | |
| 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 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
