From 9dbf5a28642bb2db57fb5150252e133e19acd33a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Eric=20B=C3=A9nard?= Date: Wed, 12 Nov 2014 23:04:08 +0100 Subject: [PATCH] bq27x00_battery: fix register offset for bq27425 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit - 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 Signed-off-by: Sebastian Reichel --- Reading git-format-patch failed