summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/toshiba_acpi.c
diff options
context:
space:
mode:
authorAlexey Starikovskiy <astarikovskiy@suse.de>2008-03-17 22:37:42 -0400
committerLen Brown <len.brown@intel.com>2008-03-17 22:37:42 -0400
commitb8a1bdb14940946fcf0438a6337b2a6c54294fb8 (patch)
tree498f92631efd34ad555c83714d4427f65de5ec39 /drivers/acpi/toshiba_acpi.c
parentbde4f8fa8db2abd5ac9c542d76012d0fedab050f (diff)
downloadblackbird-op-linux-b8a1bdb14940946fcf0438a6337b2a6c54294fb8.tar.gz
blackbird-op-linux-b8a1bdb14940946fcf0438a6337b2a6c54294fb8.zip
ACPI: battery: Don't return -EFAIL on broken packages.
Acer BIOS has a bug which is exposed when a dead battery is present. The package template that is used to describe battery status is over-written with sane values when the battery is live. But when the batter is dead, a bogus reference in the template is used. In this case, Linux returns a fault, when instead it should simply return that it doesn't know the missing value. http://bugzilla.kernel.org/show_bug.cgi?id=8573 http://bugzilla.kernel.org/show_bug.cgi?id=10202 Signed-off-by: Alexey Starikovskiy <astarikovskiy@suse.de> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/toshiba_acpi.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud