]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
ACPI / SBS: Disable smart battery manager on Apple
authorMatthew Garrett <matthew.garrett@nebula.com>
Sat, 20 Sep 2014 11:19:46 +0000 (13:19 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Wed, 24 Sep 2014 21:31:11 +0000 (23:31 +0200)
commit9faf6136ff4647452580b019f4b16f8c5082e589
tree50fd394859468be42aece95c81845233e7cc0774
parent3031cddea633ea5328162d3d712a582e4205dbed
ACPI / SBS: Disable smart battery manager on Apple

Touching the smart battery manager at all on Apple hardware appears to
make it unhappy - unplugging the AC adapter triggers accesses that hang
the controller for several minutes. Quirk it out via DMI in order to
avoid this.  Compensate by changing battery presence if we fail to
communicate with the battery.

Signed-off-by: Matthew Garrett <matthew.garrett@nebula.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sbs.c