From: Puthikorn Voravootivat Date: Tue, 30 Sep 2014 18:18:56 +0000 (-0700) Subject: bq27x00_battery: Fix flag reading for bq27742 X-Git-Tag: omap-for-v3.19/prcm-cleanup~67^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3c0c3e79066c78b890c078998c8c6bd577f1d21;p=pandora-kernel.git bq27x00_battery: Fix flag reading for bq27742 This patch fix the following issues. - Flag for bq27742 is 2 bytes contracy to 1 byte for older hardware - Don't read FLAG_CI as bq27742 does not have it - Use Battery full capacity register as last measure discharge Signed-off-by: Puthikorn Voravootivat Reviewed-by: Benson Leung Signed-off-by: Sebastian Reichel --- Reading git-diff-tree failed