]> git.baikalelectronics.ru Git - 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)
commit97ee8feb4c273a8923d656dd49186c8524cbbdb2
tree50fd394859468be42aece95c81845233e7cc0774
parent22acfd56b34cae3a9b49eb971d19e9f3cdbd0fc6
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