summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/scan.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-10 14:02:17 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-10 14:02:17 +0200
commit29038ae2ae566d9441e81cda3539db17c20bf06a (patch)
treea281388cac429863a03305dba2c99cae11fb81a4 /drivers/acpi/scan.c
parentRevert "ACPI: scan: Turn off unused power resources during initialization" (diff)
downloadlinux-29038ae2ae566d9441e81cda3539db17c20bf06a.tar.xz
linux-29038ae2ae566d9441e81cda3539db17c20bf06a.zip
Revert "Revert "ACPI: scan: Turn off unused power resources during initialization""
Revert commit 5db91e9cb5b3 ("Revert "ACPI: scan: Turn off unused power resources during initialization") which was not necessary. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/scan.c')
-rw-r--r--drivers/acpi/scan.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/scan.c b/drivers/acpi/scan.c
index a184529d8fa4..1584c9e463bd 100644
--- a/drivers/acpi/scan.c
+++ b/drivers/acpi/scan.c
@@ -2360,6 +2360,8 @@ int __init acpi_scan_init(void)
}
}
+ acpi_turn_off_unused_power_resources();
+
acpi_scan_initialized = true;
out: