From a3c0c3e79066c78b890c078998c8c6bd577f1d21 Mon Sep 17 00:00:00 2001 From: Puthikorn Voravootivat Date: Tue, 30 Sep 2014 11:18:56 -0700 Subject: [PATCH] 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-format-patch failed