Skip to content

Commit

Permalink
ACPI: PM: s2idle: Fix comment in acpi_s2idle_prepare_late()
Browse files Browse the repository at this point in the history
Fix a comment in acpi_s2idle_prepare_late() that has become outdated
after commit f0ac20c ("ACPI: EC: Fix flushing of pending work").

Fixes: f0ac20c ("ACPI: EC: Fix flushing of pending work")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
  • Loading branch information
Rafael J. Wysocki committed Mar 22, 2020
1 parent fb33c65 commit 243a988
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
}
Expand Down

0 comments on commit 243a988

Please sign in to comment.