summaryrefslogtreecommitdiffstats
path: root/drivers/power/power_supply_sysfs.c
diff options
context:
space:
mode:
authorAndres Salomon <dilinger@collabora.co.uk>2009-06-30 08:16:17 +0200
committerAnton Vorontsov <cbouatmailru@gmail.com>2009-07-01 00:36:58 +0200
commit8f7e57985fa794ab6afdcd3642581d9e1fe6de31 (patch)
tree0aa3f2b43858c03a4b71d66f1bacbdf9c5065efb /drivers/power/power_supply_sysfs.c
parentolpc_battery: Fix up eeprom read function (diff)
downloadlinux-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/power_supply_sysfs.c')
0 files changed, 0 insertions, 0 deletions