diff options
author | Andres Salomon <dilinger@collabora.co.uk> | 2009-06-30 08:16:17 +0200 |
---|---|---|
committer | Anton Vorontsov <cbouatmailru@gmail.com> | 2009-07-01 00:36:58 +0200 |
commit | 8f7e57985fa794ab6afdcd3642581d9e1fe6de31 (patch) | |
tree | 0aa3f2b43858c03a4b71d66f1bacbdf9c5065efb /drivers/power/ds2782_battery.c | |
parent | olpc_battery: Fix up eeprom read function (diff) | |
download | linux-8f7e57985fa794ab6afdcd3642581d9e1fe6de31.tar.xz linux-8f7e57985fa794ab6afdcd3642581d9e1fe6de31.zip |
olpc_battery: Ensure that the TRICKLE bit is checked
There are times when the battery is present but trickle charging,
and the EC sets only the TRICKLE bit. So we must check for the bit
when we're checking the charging/present status.
Signed-off-by: Andres Salomon <dilinger@collabora.co.uk>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
Diffstat (limited to 'drivers/power/ds2782_battery.c')
0 files changed, 0 insertions, 0 deletions