]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "ACPI: battery: Convert discharge energy rate to current properly"
authorLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Dec 2008 21:30:03 +0000 (13:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 5 Dec 2008 21:30:03 +0000 (13:30 -0800)
commit1913ac5efcc8d0cc43c9155a43bd3d2ef9cbef0f
tree96f79b4958009440ea360a59afcc2e459fcb71ac
parent4725f5c00fc534f0d670d565a8849adee4c2b53c
Revert "ACPI: battery: Convert discharge energy rate to current properly"

This reverts commit d1346c5941d841b7c676bd2f6fcfd406c6e4b879, along with
the failed try to fix the regression it caused ("ACPI: Fix ACPI battery
regression introduced by commit 558073"), which just made things worse.

Commit c3344807b0a027da9d205c1ba85fc7c0a01b550f (that failed "Fix ACPI
battery regression") got the voltage conversion confused, and fixed the
problem with Rafael's battery monitor apparently just by mistake.

So revert them both, getting us back to the 2.6.27 state in this, and
let's revisit it when people understand what's going on.

Noted-by: Paul Martin <pm@debian.org>
Requested-by: Rafael J. Wysocki <rjw@sisk.pl>
Cc: Len Brown <len.brown@intel.com>
Cc: Alexey Starikovskiy <astarikovskiy@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/acpi/battery.c