Commit 243a98894dc525ad2fbeb608722fcb682be3186d

Authored by Rafael J. Wysocki
1 parent fb33c6510d

ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()

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")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Showing 1 changed file with 1 additions and 4 deletions Side-by-side Diff

drivers/acpi/sleep.c
... ... @@ -982,10 +982,7 @@
982 982  
983 983 static void acpi_s2idle_sync(void)
984 984 {
985   - /*
986   - * The EC driver uses the system workqueue and an additional special
987   - * one, so those need to be flushed too.
988   - */
  985 + /* The EC driver uses special workqueues that need to be flushed. */
989 986 acpi_ec_flush_work();
990 987 acpi_os_wait_events_complete(); /* synchronize Notify handling */
991 988 }