Skip to content
Commit bc283685 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki
Browse files

ACPI: PM: Do not turn off power resources in unknown state

Commit 6381195a ("ACPI: power: Rework turning off unused power
resources") caused power resources in unknown state with reference
counters equal to zero to be turned off too, but that caused issues
to appear in the field, so modify the code to only turn off power
resources that are known to be "on".

Link: https://lore.kernel.org/linux-acpi/6faf4b92-78d5-47a4-63df-cc2bab7769d0@molgen.mpg.de/


Fixes: 6381195a ("ACPI: power: Rework turning off unused power resources")
Reported-by: default avatarAndreas K. Huettel <andreas.huettel@ur.de>
Tested-by: default avatarAndreas K. Huettel <andreas.huettel@ur.de>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Cc: 5.14+ <stable@vger.kernel.org> # 5.14+
parent 519d8195
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment