]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
Revert "ACPI: processor: Update cpuidle driver check in __acpi_processor_start()"
authorSasha Levin <sashal@kernel.org>
Sat, 28 Feb 2026 15:35:45 +0000 (10:35 -0500)
committerSasha Levin <sashal@kernel.org>
Wed, 4 Mar 2026 12:21:35 +0000 (07:21 -0500)
This reverts commit 0089ce1c056aee547115bdc25c223f8f88c08498 which is
upstream commit 6cfed39c2ce64ac024bbde458a9727105e0b8c66.

This commit is causing a suspend regression on systems such as the Asus
Zephyrus G14 (GA402RJ) with Ryzen 7 6700H: when suspending, the display
turns off but the device fails to fully power down. This is not seen
with v7.0-rc1 which indicates that there are changes missing. Therefore,
revert this change.

Link: https://lore.kernel.org/all/lA7Dz_m7_nCF8KkRyEOcSCLg799Mm9_DN2r9hx7ISjw32OoKiB1r_YjGHIFX8vgqxpOkVJ8d_yHb-VsGAvIWC942D4-zdWxAIP4_k6ZIQi8=@protonmail.com/
Fixes: 0089ce1c056a ("ACPI: processor: Update cpuidle driver check in __acpi_processor_start()")
Reported-by: Athul Krishna <athul.krishna.kr@protonmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/acpi/processor_driver.c

index 7644de24d2faa4482cc10eb395166c5eca705807..65e779be64ffcc6b728fc1b78df14435514c45db 100644 (file)
@@ -166,7 +166,7 @@ static int __acpi_processor_start(struct acpi_device *device)
        if (result && !IS_ENABLED(CONFIG_ACPI_CPU_FREQ_PSS))
                dev_dbg(&device->dev, "CPPC data invalid or not present\n");
 
-       if (cpuidle_get_driver() == &acpi_idle_driver)
+       if (!cpuidle_get_driver() || cpuidle_get_driver() == &acpi_idle_driver)
                acpi_processor_power_init(pr);
 
        acpi_pss_perf_init(pr);