From: Eric Bénard Date: Wed, 12 Nov 2014 22:04:08 +0000 (+0100) Subject: bq27x00_battery: fix register offset for bq27425 X-Git-Tag: fixes-v4.0-rc1~149^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9dbf5a28642bb2db57fb5150252e133e19acd33a;p=pandora-kernel.git 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 Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed