Skip to content

Commit 64a506f

Browse files
committed
ACPI: PM: Adjust messages regarding postponed ACPI PM
The debug messages added by commit f7599be ("ACPI: PM: postpone bringing devices to D0 unless we need them") in acpi_subsys_resume_early() and acpi_subsys_resume() are not quite accurate because what is postponed is not just a transition to D0, but also an adjustment of the device's wakeup setting (which may involve disabling a GPE among other things). Moreover, these messages don't even mention ACPI. Rephrase them and adjust the style to match other messages in device_pm.c. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> Link: https://patch.msgid.link/5969819.DvuYhMxLoT@rafael.j.wysocki
1 parent de69a08 commit 64a506f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/acpi/device_pm.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ static int acpi_subsys_resume_early(struct device *dev)
12511251
return 0;
12521252

12531253
if (pm && !pm->resume_early) {
1254-
dev_dbg(dev, "postponing D0 transition to normal resume stage\n");
1254+
dev_dbg(dev, "Postponing ACPI PM to normal resume stage\n");
12551255
return 0;
12561256
}
12571257

@@ -1273,7 +1273,7 @@ static int acpi_subsys_resume(struct device *dev)
12731273
int ret = 0;
12741274

12751275
if (!dev_pm_skip_resume(dev) && pm && !pm->resume_early) {
1276-
dev_dbg(dev, "executing postponed D0 transition\n");
1276+
dev_dbg(dev, "Applying postponed ACPI PM\n");
12771277
ret = acpi_dev_resume(dev);
12781278
}
12791279

0 commit comments

Comments
 (0)