summaryrefslogtreecommitdiffstats
path: root/drivers/power/reset
diff options
context:
space:
mode:
authorPuthikorn Voravootivat <puthik@chromium.org>2014-09-30 11:18:56 -0700
committerSebastian Reichel <sre@kernel.org>2014-10-01 04:10:50 +0200
commita3c0c3e79066c78b890c078998c8c6bd577f1d21 (patch)
tree85ae7a455ff35c62df0ac44eaade8572705f7a65 /drivers/power/reset
parent18a702e0de9879d5c0225a09f494443f0b91a0cc (diff)
downloadop-kernel-dev-a3c0c3e79066c78b890c078998c8c6bd577f1d21.zip
op-kernel-dev-a3c0c3e79066c78b890c078998c8c6bd577f1d21.tar.gz
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 <puthik@chromium.org> Reviewed-by: Benson Leung <bleung@chromium.org> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/power/reset')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud