Skip to contentSkip to conversation

ACPI: s2idle: Fix comment in acpi_s2idle_prepare_late()

PATCH New Rafael J. Wysocki 1 participant 1 message Mar 20, 2020 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI: s2idle: Fix comment in acpi_s2idle_prepare_late()

From: Rafael J. Wysocki <[email protected]>

Fix a comment in acpi_s2idle_prepare_late() that has become outdated after commit f0ac20c3f613 ("ACPI: EC: Fix flushing of pending work").

Fixes f0ac20c3f613 ("ACPI: EC: Fix flushing of pending work")
---
 drivers/acpi/sleep.c |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/acpi/sleep.c +1 -4
Index: linux-pm/drivers/acpi/sleep.c
===================================================================
@@ -982,10 +982,7 @@ static int acpi_s2idle_prepare_late(void
 
 static void acpi_s2idle_sync(void)
 {
-	/*
-	 * The EC driver uses the system workqueue and an additional special
-	 * one, so those need to be flushed too.
-	 */
+	/* The EC driver uses special workqueues that need to be flushed. */
 	acpi_ec_flush_work();
 	acpi_os_wait_events_complete(); /* synchronize Notify handling */
 }