Patch "ACPI / SBS: Enable battery manager when present" has been added to the 4.0-stable tree
Subsystems (2)
This is a note to let you know that I've just added the patch titled
ACPI / SBS: Enable battery manager when present
to the 4.0-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
acpi-sbs-enable-battery-manager-when-present.patch
and it can be found in the queue-4.0 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.
Quoted 1 line
From
61f8ff693923e4b19748b0e8287b99778f2661c7Mon Sep 17 00:00:00 2001
From: Chris Bainbridge <[email protected]>
Date: Wed, 22 Apr 2015 16:40:21 +0100
Subject: ACPI / SBS: Enable battery manager when present
From: Chris Bainbridge <[email protected]>
commit 61f8ff693923e4b19748b0e8287b99778f2661c7 upstream.
Commit 9faf6136ff46 (ACPI / SBS: Disable smart battery manager on Apple) introduced a regression disabling the SBS battery manager. The battery manager should be marked as present when acpi_manager_get_info() returns 0.
--- drivers/acpi/sbs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/acpi/sbs.c +1 -1
@@ -670,7 +670,7 @@ static int acpi_sbs_add(struct acpi_deviif (!sbs_manager_broken) { result =acpi_manager_get_info (sbs);if (!result) { - sbs->manager_present =0 ; + sbs->manager_present =1 ;for (id =0 ; id <MAX_SBS_BAT ; ++id)if ((sbs->batteries_supported & (1 << id)))acpi_battery_add (sbs, id);
Patches currently in stable-queue which might be from [email protected] are
queue-4.0/acpi-sbs-enable-battery-manager-when-present.patch