Revert "ACPI: PM: Let acpi_dev_pm_attach() skip devices without ACPI PM"
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Mar 2026 14:26:31 +0000 (15:26 +0100)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 3 Mar 2026 14:32:53 +0000 (15:32 +0100)
commit00fd9aad55e7ced494a738a07662155d058b872f
tree7946ac1d99610ee2cec81cb08977350d8fd49c1b
parent11439c4635edd669ae435eec308f4ab8a0804808
Revert "ACPI: PM: Let acpi_dev_pm_attach() skip devices without ACPI PM"

Revert commit 88fad6ce090b ("ACPI: PM: Let acpi_dev_pm_attach() skip
devices without ACPI PM") that introduced a SoundWire suspend regression
[1].

It is actually not true that the commit above doesn't make a functional
difference because acpi_subsys_suspend(), for example, may resume
devices in runtime-suspend which affects the subsequent handling of
those devices during the suspend transition.  For this reason, the
devices that were handled by the ACPI PM domain before that commit may
be handled differently now which may lead to suspend-resume issues.

Fixes: 88fad6ce090b ("ACPI: PM: Let acpi_dev_pm_attach() skip devices without ACPI PM")
Reported-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Closes: https://github.com/thesofproject/linux/pull/5677#issuecomment-3984375077 [1]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://patch.msgid.link/2829615.mvXUDI8C0e@rafael.j.wysocki
drivers/acpi/device_pm.c