aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_irq.c
diff options
context:
space:
mode:
authorLan Tianyu <tianyu.lan@intel.com>2011-06-29 23:33:12 -0400
committerLen Brown <len.brown@intel.com>2011-07-14 00:04:41 -0400
commit55003b2105a4578736f3e868fbaa889bb1ff3ce0 (patch)
tree50841bf4f373b97c9f2fa53657eb4b36a46b0ee1 /drivers/acpi/pci_irq.c
parentae6f61870490c10a0b0436e5afffa00c9dacffef (diff)
ACPI / Battery: Change 16-bit signed negative battery current into correct value
This patch is for some machines which report the battery current as a 16-bit signed negative when it is charging. This is caused by DSDT bug. The commit bc76f90b8a5cf4aceedf210d08d5e8292f820cec has resolved the problem for Acer laptops. But some other machines also have such problem. https://bugzilla.kernel.org/show_bug.cgi?id=33722 Since it is improper that the current is above 32A on laptops whether on AC or on battery, this patch is to check the current and take its absolute value as current and producing a message when it is negative in s16. Remove Acer quirk, as this workaround handles Acer too. Signed-off-by: Lan Tianyu <tianyu.lan@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/pci_irq.c')
0 files changed, 0 insertions, 0 deletions