]> 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)
commitf9989ec3ce221c8d691176c0a6a38acd4b802c13
tree50fd394859468be42aece95c81845233e7cc0774
parent847db76412b75e6dc92a580bb200b613d1c06cb9
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